WordPress.org

Ready to get started?Download WordPress

Forums

Simply Exclude
[resolved] Illegal string offset warnings under php 5.4.5 (7 posts)

  1. Maximol
    Member
    Posted 2 years ago #

    Hello,

    I upgraded my php version from 5.3.8 to 5.4.5 and eversince I am getting the warning "Illegal string offset 'action' " on the settings page an on the blogg itself. The plugin still works, but with these warnings it is not usable.

    This seems to be caused by trying to use a variable as an array that is not an array anymore. For example on line 323
    if ($action_val['action'] == 'i')

    In the previous php version this caused no warnings, but it seems that since version 5.4, they have made some changes to array handling.

    Kind regards,

    Jo

    http://wordpress.org/extend/plugins/simply-exclude/

  2. onirgoc
    Member
    Posted 1 year ago #

    Sorry ! find the solution but for a wired reason can't copy the code here only parts are satying after publish! will send the solution to devloper for an update of the php.

  3. Nic Windley
    Member
    Posted 1 year ago #

    Can you send a link to the code or zip the file with the resolutions as I'm running into the same problem. Thanks, Nic

  4. Nic Windley
    Member
    Posted 1 year ago #

    Sorry duplicate post for some reason.

  5. Nic Windley
    Member
    Posted 1 year ago #

    Hello Paul (the developer),
    Can you please comment on any updates coming that will resolve this ?
    Thanks,
    Nic

  6. Dan Butcher
    Member
    Posted 1 year ago #

    I'm also getting that error:

    Illegal string offset 'action' in .../public_html/wp-content/plugins/simply-exclude/simplyexclude.php on line 2290

    The plugin is really useful--but would like to not have the error all the time.

  7. Paul Menard
    Member
    Plugin Author

    Posted 1 year ago #

    Looking into this today. Thanks.

  8. Paul Menard
    Member
    Plugin Author

    Posted 1 year ago #

    This should not fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.