Title: PHP Notices / errors?
Last modified: August 31, 2016

---

# PHP Notices / errors?

 *  Resolved [myvertexto](https://wordpress.org/support/users/myvertexto/)
 * (@myvertexto)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notices-errors-1/)
 * Hi there, wondering if anyone can help with these notices…?
 *     ```
       PHP Error	Count	Location	Call Stack	Component
       Notice	Undefined index: textdomain	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:582
       TheLib_1_0_17->translate_plugin()
        wp-content/plugins/custom-sidebars/customsidebars.php:71
       inc_sidebars_free_init()
        Unknown location
       do_action('plugins_loaded')
        wp-settings.php:277	Plugin: custom-sidebars
       Undefined index: init_pointer	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:444
       TheLib_1_0_17->pointer()
        wp-content/plugins/custom-sidebars/inc/class-custom-sidebars.php:92
       CustomSidebars->__construct()
        wp-content/plugins/custom-sidebars/inc/class-custom-sidebars.php:60
       CustomSidebars::instance()
        wp-content/plugins/custom-sidebars/customsidebars.php:74
       inc_sidebars_free_init()
        Unknown location
       do_action('plugins_loaded')
        wp-settings.php:277	Plugin: custom-sidebars
       Undefined index: js_or_css	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:247
       TheLib_1_0_17->_prepare_js_or_css()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:232
       TheLib_1_0_17->add_css()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:152
       TheLib_1_0_17->add_ui()
        wp-content/plugins/custom-sidebars/inc/class-custom-sidebars.php:116
       CustomSidebars->__construct()
        wp-content/plugins/custom-sidebars/inc/class-custom-sidebars.php:60
       CustomSidebars::instance()
        wp-content/plugins/custom-sidebars/customsidebars.php:74
       inc_sidebars_free_init()
        Unknown location
       do_action('plugins_loaded')
        wp-settings.php:277	Plugin: custom-sidebars
       Undefined index: css	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:341
       TheLib_1_0_17->_add_js_or_css()
        Unknown location
       do_action('init')
        wp-settings.php:393	Plugin: custom-sidebars
       Undefined index: admin_enqueue_scriptscss	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:342
       TheLib_1_0_17->_add_js_or_css()
        Unknown location
       do_action('init')
        wp-settings.php:393	Plugin: custom-sidebars
       Undefined index: js	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:341
       TheLib_1_0_17->_add_js_or_css()
        Unknown location
       do_action('init')
        wp-settings.php:393	Plugin: custom-sidebars
       Undefined index: admin_enqueue_scriptsjs	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:20	TheLib_1_0_17->_add()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:342
       TheLib_1_0_17->_add_js_or_css()
        Unknown location
       do_action('init')
        wp-settings.php:393	Plugin: custom-sidebars
       Undefined index: js_data	1	wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:27	TheLib_1_0_17->_get()
        wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:390
       TheLib_1_0_17->_enqueue_script_callback()
        Unknown location
       do_action('admin_enqueue_scripts')
        wp-admin/admin-header.php:92	Plugin: custom-sidebars
       ```
   
 * [https://wordpress.org/plugins/custom-sidebars/](https://wordpress.org/plugins/custom-sidebars/)

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

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280202)
 * Hey there myvertexto,
 * How are you doing today?
 * Where exactly are you being able to see these errors?
 * On a side note this is just a notice so you don’t have to worry too much about
   it.
 * Please let me know 🙂
 * Cheers,
    Bojan
 *  [Remco](https://wordpress.org/support/users/rembem/)
 * (@rembem)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280298)
 * Hi,
    I have the same. The notices can be viewed for example in QueryMonitor plugin,
   used for fixing php errors, reducing load times etc.
 * Yes they are ‘just notices’, etc. But properly coded, there should be notices
   at all. This plugin is generating whole lists of php notices.
 * See this screenshot:
    [https://www.dropbox.com/s/h3wxmtoodag94mf/Schermafbeelding%202016-04-28%20om%2016.42.12.png?dl=0](https://www.dropbox.com/s/h3wxmtoodag94mf/Schermafbeelding%202016-04-28%20om%2016.42.12.png?dl=0)
 * Hope you will fix this!
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280306)
 * Hey there rembem,
 * Thanks for your input here, I agree that notices should be removed and when I
   said that you don’t have to worry too much I just wanted to say that this is 
   not really something that will potentially break the site.
 * I’ve run a test with QueryMonitor and I can see the notices, I’ll forward this
   to our developer so he can try to investigate this further and possibly fix in
   one of the following updates.
 * Thanks again for taking time to report this 🙂
 * Cheers,
    Bojan
 *  [Remco](https://wordpress.org/support/users/rembem/)
 * (@rembem)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280307)
 * Thanks for your reaction.
    Looking forward to future updates!
 *  [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280330)
 * Hi,
    I’m getting more or less the same PHP Notices, although all 8 have the same
   number 20 on the end of the rule, don’t know if they are the caused by the same.
 * `wp-content/plugins/custom-sidebars/customsidebars.php:20`
 * Hope there will be a solution to get rid of these warnings. Apart from that, 
   it’s a great plugin.
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280331)
 * Hi MarionFW,
 * Thanks for the info but this might be different issue since there are no notices
   for line 20 in customsidebars.php when we check the logs.
 * Can you please start a new thread with bit more info about where this is showing
   so we could check it out.
 * Thank you,
    Predrag
 *  [Remco](https://wordpress.org/support/users/rembem/)
 * (@rembem)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280332)
 * In the list of notices I have, about half are generated on line 20 of this file:
 * wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php:
   20
 * Below are 3 screenshots of notices (from QueryMonitor plugin). In this particular
   page I have 12 php notices. Your plugin is the only of about 30 plugins I have
   that generates php notices.
 * [https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.18.26.png](https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.18.26.png)
 * [https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.19.08.png](https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.19.08.png)
 * [https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.19.24.png](https://dl.dropboxusercontent.com/u/2854738/customsidebar%20notices/Schermafbeelding%202016-06-14%20om%2011.19.24.png)
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280334)
 * Hi rembem,
 * Thanks for the additional info, I have updated Bojan’s report with this so devs
   can have a look at it as well.
 * Cheers,
    Predrag

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

The topic ‘PHP Notices / errors?’ is closed to new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

## Tags

 * [php notices](https://wordpress.org/support/topic-tag/php-notices/)

 * 8 replies
 * 5 participants
 * Last reply from: [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/php-notices-errors-1/#post-7280334)
 * Status: resolved