"Dynamic Widgets" plugin: "Undefined variable: opt_page_childs in" (3 posts)

  1. 123COM
    Posted 5 years ago #

    After upgrading to the latest version of WordPress I have encountered a lot of issues with plugins - using depreciated calls and variables in order to function, and thus throwing up tons of errors. I've had to disable 50% of the plugins I use.

    However some of them are just too vital to my site's functionality that I have to use them or find an alternative. The Google Sitemaps XML plugin for instance was a good example.

    I use the "Dynamic Widgets" to customise the sidebar of most of the pages of my site (using WP as a CMS) to allow for an easier navigational experience for my users.

    But, if I go to change the settings for the 'Dynamic Widget' in wp-admin; I get the following errors crop up - and, yes I have upgraded to the latest plugin version which was released around the same time as the latest WP:

    Notice: Undefined variable: opt_page_childs in /home/ontwothr/domains/123com.org/public_html/wp-content/plugins/dynamic-widgets/mods/pages_module.php on line 116
    Notice: Trying to get property of non-object in /home/ontwothr/domains/123com.org/public_html/wp-content/plugins/dynamic-widgets/mods/pages_module.php on line 116

    Any ideas?

  2. First make sure you're using the latest and greatest version of the plugins.

    Then consider the alternatives.

    Google XML Sitemaps - Try http://wordpress.org/extend/plugins/wordpress-seo/

    Dynamic Widgets - Make sure http://wordpress.org/extend/plugins/dynamic-widgets/ is on v 1.4.1 and if that doesn't work, consider http://wordpress.org/extend/plugins/dynamic-content-widget/ or http://wordpress.org/extend/plugins/widget-logic/

  3. Qurl
    Posted 5 years ago #

    Thanks for letting me know. This is not a critical error. It's actually a notice. The plugin will work correctly. This message will be gone in the next version of Dynamic Widgets.

    I'd like to recommend to have notices switched off in production environments.

Topic Closed

This topic has been closed to new replies.

About this Topic