Title: [Plugin: Simply Exclude] Illegal string offset warnings under php 5.4.5
Last modified: August 20, 2016

---

# [Plugin: Simply Exclude] Illegal string offset warnings under php 5.4.5

 *  Resolved [Maximol](https://wordpress.org/support/users/maximol/)
 * (@maximol)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/)
 * 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/](http://wordpress.org/extend/plugins/simply-exclude/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [onirgoc](https://wordpress.org/support/users/onirgoc/)
 * (@onirgoc)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941055)
 * 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.
 *  [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * (@nisiwi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941069)
 * 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
 *  [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * (@nisiwi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941070)
 * Sorry duplicate post for some reason.
 *  [Nic Windley](https://wordpress.org/support/users/nisiwi/)
 * (@nisiwi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941072)
 * Hello Paul (the developer),
    Can you please comment on any updates coming that
   will resolve this ? Thanks, Nic
 *  [Dan Butcher](https://wordpress.org/support/users/danbutcher/)
 * (@danbutcher)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941078)
 * 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.
 *  Plugin Author [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * (@pmenard)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941080)
 * Looking into this today. Thanks.
 *  Plugin Author [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * (@pmenard)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941081)
 * This should not fixed.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Simply Exclude] Illegal string offset warnings under php 5.4.5’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simply-exclude.svg)
 * [Simply Exclude](https://wordpress.org/plugins/simply-exclude/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-exclude/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-exclude/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-exclude/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-exclude/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-exclude/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [Paul Menard](https://wordpress.org/support/users/pmenard/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-simply-exclude-illegal-string-offset-warnings-under-php-545/#post-2941081)
 * Status: resolved