Support » Plugin: Subscribe2 » PHP errors upon listing subscribers

  • Hi… I viewed my public subscribers yesterday and got various PHP errors logged. Any ideas please? NB This is multi=site installation.

    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'user_email' in /home/antipole/public_html/wp-content/plugins/subscribe2/classes/class-s2-list-table.php on line 351
    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'ID' in /home/antipole/public_html/wp-content/plugins/subscribe2/classes/class-s2-list-table.php on line 352
    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'user_email' in /home/antipole/public_html/wp-content/plugins/subscribe2/classes/class-s2-list-table.php on line 351
    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'ID' in /home/antipole/public_html/wp-content/plugins/subscribe2/classes/class-s2-list-table.php on line 352
    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'user_email' in /home/antipole/public_html/wp-content/plugins/subscribe2/admin/subscribers.php on line 224
    [02-Apr-2018 14:05:05 UTC] PHP Warning:  Illegal string offset 'user_email' in /home/antipole/public_html/wp-content/plugins/subscribe2/admin/subscribers.php on line 224

    WP 4.9.4
    PHP 5.5
    Subscribe2 10.22.1

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • @antipole,

    I fixed this a while ago in my fork. Try the updated code from here:
    https://github.com/mattyrob/subscribe2

    Thank you for this. I pulled it from GitHub and installed. This meant I had this version and v10.22.1 installed, so I had to deactivate and uninstall v10.22.1, which deleted all my subscribers :-(. Restored database from backup and all seems to be working now.

    Some advice please… I am used to getting updates via the WP built-in mechanism. How do I keep this GitHub-based version updated? Not sure why you are not using the standard mechanism? Or is this just a beta version?

    I have another site using v10.22.1 with registered subscribers only. No problems showing with that site. Should I update that site too? And if so, how should I do so without deleting my subscribers?

    thanks

    @antipole

    I used to develop this plugin but sold it 2 years ago and cannot commit changes to this code anymore. My fork on GitHub has bug fixes and is there to keep users happy and for my own pleasure. There isn’t an automatic way to update.

    If you want to update the other site don’t uninstall in the WP admin area, just use FTP software to upload the newer version overwriting the existing files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP errors upon listing subscribers’ is closed to new replies.