Title: [Plugin: Widget Logic] Errors after php 5.3.13 update
Last modified: August 20, 2016

---

# [Plugin: Widget Logic] Errors after php 5.3.13 update

 *  [beichert](https://wordpress.org/support/users/beichert/)
 * (@beichert)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/)
 * my site host updated php to 5.3.13 last night. this created a serious conflict
   with widget logic. i was running 0.51 at the time. it was throwing errors all
   over the place. i was even unable to login to the wp admin interface as a result.
 * i used ftp to disable widget logic. got into the wp admin and updated widget 
   logic to 0.52. this did not help.
 * i inadvertently discovered that the problem was not occurring on another site
   which was using widget logic 0.47, so i installed that version and it resolved
   the parsing errors.
 * however, something curious seems to have occurred: if widget logic is used to
   place a widget on any given page, wordpress is rendering that widget’s location
   as having “content” on every page. (it is not displaying the widget’s content,
   but is “filling” the widget’s location in with blank space and styling it as 
   though it has content.)
 * any thoughts? my two concerns are that i may run into issues down the line by
   running 0.47. also, the aesthetic consequences of the ghost content thing are
   not pretty. i would appreciate any help or fixes.
 * best,
    benjamin
 * [http://wordpress.org/extend/plugins/widget-logic/](http://wordpress.org/extend/plugins/widget-logic/)

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

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2901928)
 * I don’t suppose you saved any of the error text that was coming up? I’m not aware
   of any recent major changes in PHP 5, and there’s nothing really unusual in the
   WL code either, so I’ll have to just try and get my hands on that version of 
   PHP and try it. (I’ll have to check the version of PHP my host has – it’s 5 something
   of course.)
 * Re 0.47, the only major change going back was that it didn’t properly filter 
   out the widgets internally to some WP functions (eg if no widgets display, it
   doesn’t say the sidebar is empty and the theme should show the default widgets),
   but it definitely doesn’t render the HTML for any part of the widget either.
 * Check the HTML, point me at the site, and I’ll see what I can do. But I’d really
   like to see what’s up with PHP5 there. Especially in case other people start 
   to see this 🙁
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2901979)
 * i’m on 5.2 (.17) and OK. Anyone out there on 5.3 or 5.4 (.anything) and OK?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2901985)
 * I’m running PHP 5.3.3 locally on a 3.4.1 install with debug on and debug-logging
   on. Just installed the plugin & activated it. No visible errors on activation
   but found the following in the debug-log file:
 * > [18-Jul-2012 19:26:29] PHP Notice: Undefined index: widget_logic-options-filter
   > in E:\data\data3\server\wordpress\wp-content\plugins\widget-logic\widget_logic.
   > php on line 171
   >  [18-Jul-2012 19:26:29] PHP Notice: Undefined index: widget_logic-
   > options-wp_reset_query in E:\data\data3\server\wordpress\wp-content\plugins\
   > widget-logic\widget_logic.php on line 176 [18-Jul-2012 19:26:29] PHP Notice:
   > Undefined index: widget_logic-options-load_point in E:\data\data3\server\wordpress\
   > wp-content\plugins\widget-logic\widget_logic.php on line 184 [18-Jul-2012 19:
   > 26:29] PHP Notice: Undefined index: widget_logic-options-load_point in E:\data\
   > data3\server\wordpress\wp-content\plugins\widget-logic\widget_logic.php on 
   > line 184 [18-Jul-2012 19:26:29] PHP Notice: Undefined index: widget_logic-options-
   > load_point in E:\data\data3\server\wordpress\wp-content\plugins\widget-logic\
   > widget_logic.php on line 184 [18-Jul-2012 19:26:29] PHP Notice: Undefined index:
   > widget_logic-options-load_point in E:\data\data3\server\wordpress\wp-content\
   > plugins\widget-logic\widget_logic.php on line 184 [18-Jul-2012 19:27:10] PHP
   > Notice: Trying to get property of non-object in E:\data\data3\server\wordpress\
   > wp-content\plugins\widget-logic\widget_logic.php on line 52 [18-Jul-2012 19:
   > 27:43] PHP Notice: Trying to get property of non-object in E:\data\data3\server\
   > wordpress\wp-content\plugins\widget-logic\widget_logic.php on line 52
 * Added a widget using the `is_home()` conditional which worked fine. Still no 
   visible errors and nothing extra in the debug.log
 * HTH
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2901994)
 * brilliant, thank you so much esmi!
 * beichert – do those errors look familiar? it might be your update has activated
   some ‘strict’ setting in your PHP?
 * EITHER way, I’m not letting myself off the hook. I can fix all those I think –
   a little extra work on the 0.54
 *  Thread Starter [beichert](https://wordpress.org/support/users/beichert/)
 * (@beichert)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2902000)
 * Yep, those look like the errors i was getting.
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2902013)
 * cool. well I can get to work fixing that for you to try. in the short term you
   may have some control over your PHP hosts’s error_reporting setting
 * [http://php.net/manual/en/errorfunc.configuration.php](http://php.net/manual/en/errorfunc.configuration.php)
 * so if you have upgraded from 4 to 5 the new error level E_STRICT (along with 
   my woeful coding) is what is throwing these errors.
 * you can set this a number of ways (php.ini files, and so on). If this is beyond
   you, don’t worry – I will get on the code fix soon.
 * Thanks all

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

The topic ‘[Plugin: Widget Logic] Errors after php 5.3.13 update’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-widget-logic-errors-after-php-5313-update/#post-2902013)
 * Status: not resolved