• Resolved jdkeu456

    (@jdkeu456)


    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…’, 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

    (@satollo)

    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

    (@satollo)

    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

    (@jdkeu456)

    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)
  • You must be logged in to reply to this topic.