I am running on PHP 5.6.7
Have the same with 5.5.24.
I found the problem and I have a solution.
Problem is that the plugin stores information in the wp_options table in a field with option_name = “subscribe_reloaded_deferred_admin_notices” and that this content does not get properly migrated as this value was a string once and is expected to be an array now.
Deleting all entries with option_name = “subscribe_reloaded_deferred_admin_notices” in wp_options (and in all wp_<n>_options tables if you have a multisite installation) made the error go away.
Solution for plugin developer: either sanitize data from wp_options or invalidate that cached information after upgrade.
Extra information: this content caused the problem:
s:603:”a:2:{i:0;s:174:"<div class="updated"><h3>Subscribe to Comments Reloaded Important Notice</h3><p>The information in your database has been sanitize to prevent the raw html messages.</p></div>";i:1;s:261:"<div class="updated"><h3>Wichtiger Hinweis</h3><p>The creation of table wp_subscribe_reloaded_subscribers was successful.</p><p>This new table will help to add your subscribers email address safer and prevent the Google PII violation.</p></div>";}”;
Somehow the array information got double escaped so that the whole array was stored a string.
Hello Guys,
I’ve been away of the development for personal reason, but I take a look at your issues as soon as I am available.
Thank you for reporting it.
Regards.!!
Hello, I´m getting a similar error when trying to activate the plugin:
Fatal error: [] operator not supported for strings in /home3/myn10/public_html/guiasturisticasgratis.com/wp-content/plugins/subscribe-to-comments-reloaded/subscribe-to-comments-reloaded.php on line 574
How can I solve it?
Thanks.
Guys
I think that a string value is store in one of the StCR option.
Can you delete this option subscribe_reloaded_deferred_admin_notices with this SQL query:
DELETE FROM wp_options WHERE option_name = 'subscribe_reloaded_deferred_admin_notices';
Then deactivate and activate the plugin?
Also I am submitting some fixex on GitHub https://github.com/stcr/subscribe-to-comments-reloaded
You can subscribe to the testers list before I release a new update so that you can feedback and test the plugin before installing the new update:
Subscriber to Comments Reloaded Tester list
http://eepurl.com/biCk1b