Title: Cannot activate Plugin &#8211; Fatal Error
Last modified: October 26, 2024

---

# Cannot activate Plugin – Fatal Error

 *  Resolved [jdkeu456](https://wordpress.org/support/users/jdkeu456/)
 * (@jdkeu456)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-fatal-error-7/)
 * How can I avoid this Error?
 * [26-Oct-2024 11:15:04 UTC] PHP Fatal error: Uncaught TypeError: Cannot access
   offset of type string on string in /data/web/1/000/066/357/272056/htdocs/xxx/
   wp-content/plugins/newsletter/includes/upgrade.php:310
   Stack trace: 0 /data/web/
   1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/includes/upgrade.
   php(545): NewsletterUpgrade->run() 1 /data/web/1/000/066/357/272056/htdocs/xxx/
   wp-content/plugins/newsletter/plugin.php(312): include_once(‘/data/web/1/000…’)
   2 /data/web/1/000/066/357/272056/htdocs/xxx/wp-includes/class-wp-hook.php(324):
   Newsletter->hook_activate(false) 3 /data/web/1/000/066/357/272056/htdocs/xxx/
   wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 4 /data/
   web/1/000/066/357/272056/htdocs/xxx/wp-includes/plugin.php(517): WP_Hook->do_action(
   Array) 5 /data/web/1/000/066/357/272056/htdocs/xxx/wp-admin/includes/plugin.php(
   703): do_action(‘activate_newsle…’, false) 6 /data/web/1/000/066/357/272056/htdocs/
   xxx/wp-admin/plugins.php(60): activate_plugin(‘newsletter/plug…’, ‘[https://neu.pla…&#8217](https://neu.pla…&#8217);,
   false) 7 {main}
 * thrown in /data/web/1/000/066/357/272056/htdocs/xxx/wp-content/plugins/newsletter/
   includes/upgrade.php on line 310

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-fatal-error-7/#post-18097486)
 * Hi, it seems an option on the wp_options table of your installation contains 
   a string instead of be missing or be an array (as it should be). The option name
   is “newsletter_profile”.
 * Since on Monday we have a release, I’ll add a check for that specific problem.
 * Meanwhile, if you can access your blog database, seek for the wp_options table(
   the wp_prefix could be different) and inside that table for the “newsletter_profile”
   option and delete it.
 * It could be another plugin is/was using the same option, identifying it on your
   database could give clues about it’s usage.
 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-fatal-error-7/#post-18097501)
 * Were you running a very old version of the Newsletter plugin? That error is generated
   by a code that should be executed only when you’re updating from a version before
   the 7.7.
 *  Thread Starter [jdkeu456](https://wordpress.org/support/users/jdkeu456/)
 * (@jdkeu456)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-fatal-error-7/#post-18097623)
 * Hi Stefano,
 * thank you very much for your ultrafast and helpful response!
 * Killing the option “newsletter_profile” in the database made the trick. It was
   set to “S” and now is an array. It was the newest version for the plugin but 
   first install was some years ago. Not really sure thow, who really changed this
   option …. Anyway, works fine now! Great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot activate Plugin – Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/newsletter/assets/icon-256x256.png?rev=1052028)
 * [Newsletter - Send awesome emails from WordPress](https://wordpress.org/plugins/newsletter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [jdkeu456](https://wordpress.org/support/users/jdkeu456/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-fatal-error-7/#post-18097623)
 * Status: resolved