• Resolved Mangesh

    (@gmangesh)


    Hi,

    After upgrading to 3.1.1 I have started seeing these warnings on the WP Admin screen:

    Warning: Illegal string offset ‘name’ in xxx/wp-content/plugins/wp-members/admin/includes/class-wp-members-admin-api.php on line 268
    Warning: Illegal string offset ‘label’ in xxx/wp-content/plugins/wp-members/admin/includes/class-wp-members-admin-api.php on line 269
    Warning: Illegal string offset ‘value’ in xxx/wp-content/plugins/wp-members/admin/includes/class-wp-members-admin-api.php on line 271

    https://wordpress.org/plugins/wp-members/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Is this single install or multisite? If multisite is it network activated or site activated?

    Thread Starter Mangesh

    (@gmangesh)

    This is a single-site install.

    FYI, I reverted to 3.1.0 and the warnings went away.

    Thread Starter Mangesh

    (@gmangesh)

    FWIW, re-installed 3.1.1 and the warnings are back

    Plugin Author Chad Butler

    (@cbutlerjr)

    There are a couple of different ways to update a plugin through the WP admin panel – the “update now” link when looking at that specific plugin in the plugin panel (the one that makes the little arrow go ’round while it is updating) does not trigger the activation hook. So there’s a separate upgrade function for that. That function did not have a call to the dialog upgrade function which needs to run for the new dialogs settings. But that is corrected now. Please give the update another try (wait about 15 minutes though as I just updated it and it takes some time for wordpress.org to cycle through and reassemble the zip package) and let me know if that resolves. Use the same method of updating as you did before.

    Plugin Author Chad Butler

    (@cbutlerjr)

    FWIW, re-installed 3.1.1 and the warnings are back

    You might have been a little ahead of me (or of wordpress.org). I just loaded the fix, but it takes 5-15 minutes for wordpress.org to cycle through and repackage the new zip file.

    Plugin Author Chad Butler

    (@cbutlerjr)

    Just a followup to this…

    When this was noticed and corrected, less than 300 downloads of the new version had been processed. Presumably, some of these would be new installs (and unaffected by this issue) and some would have been updated via the update panel or the bulk action menu and also unaffected. So for the limited users affected, simply deactivating and then reactivating the plugin would trigger the necessary update function for the dialogs setting upgrade.

    Thread Starter Mangesh

    (@gmangesh)

    Hi Chad,

    Firstly, thanks for the super fast response!

    You are correct, clicking on the “Update Now” button is how I had updated the first time around. Second time around was by deleting the plugins/wp-members dir and FTP’ing/unzipping the zip file.

    I have now upgraded from 3.1.0.x to 3.1.1 using the “Update Now” button on the “Installed Plugins” list. No warnings this time.

    Thanks again.

    Regards,
    Mangesh

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Illegal string offset 'name' in class-wp-members-admin-api.php on line 268’ is closed to new replies.