Updates/wp-debug errors
- This topic has 3 replies, 3 voices, and was last updated 8 years, 1 month ago by Troy Welch.
-
AuthorPosts
-
September 20, 2016 at 6:35 pm #6097Troy WelchParticipant
Hi, just starting a project with CBOX and thought I would see if you folks have new version on the horizon.
Now, my actual issue, I am trying to initialize a list of metaboxes and widgets in Advanced Access Manager (I know, not your plugin) and was receiving a blanket “Application Error” message. So turned on wp_debug and received the following:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/wp-includes/functions.php on line 3996
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/html/wp-includes/functions.php on line 3996
Deprecated: Non-static method ICE_Loader::load_wpadmin_lib() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/widgets/posts-list/class.php on line 251
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Deprecated: Non-static method ICE_Files::list_filtered() should not be called statically, assuming $this from incompatible context in /var/www/html/wp-content/themes/cbox-theme/engine/ICE/ext/options/ui/image-picker/class.php on line 82
Notice: The called constructor method for WP_Widget in CAC_Featured_Content_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/html/wp-includes/functions.php on line 3767Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/wp-includes/functions.php on line 3891
Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/wp-includes/functions.php on line 3891
Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/wp-includes/functions.php on line 3891
Some of these are CBOX and BP related. Also it looks like there may be some user level usage that is conflicting with Advanced Access Manager. Is this likely the case?
thanks
September 20, 2016 at 7:42 pm #6098Scott VothKeymasterHi Troy – Thanks for trying out CBOX and yes there is a new version coming out soon, but can’t at this point promise you a date. I am pinging @haystack to see if he might have some insight on these warnings and the general “Application Error” message. Thanks for reporting,
September 22, 2016 at 4:21 am #6099Christian WachParticipant@troy None of the PHP notices you’re seeing should generate an “Application Error” since they’re, well, only notices. Do you have access to the logs at the point where you see the error occur? If not, can you add the following two lines to ‘wp-config.php’ when
WP_DEBUG
istrue
:define('WP_DEBUG_DISPLAY', false); define('WP_DEBUG_LOG', true);
This will cause errors to be logged to a file called ‘debug.log’ inside your ‘wp-content’ folder. Please post what you find so we can delve further.
Cheers, Christian
September 22, 2016 at 1:14 pm #6100Troy WelchParticipantHi guys, thanks for the follow up. Here’s where I’m at. My initial problem/error display occurred on a production site that we are in the process of configuring/populating.
I also had a local testing install so I made it as close as possible to the production site. There are some differences, but I think as it turns out they are not important.
With debug configured both sites threw the same list of errors, however the local site functioned as it should and did not have the application error. This leads me to believe that this is not CBOX related, nor is it php related.
I think it is javascript related. I haven’t had time yet to compare the two using browser dev tools yet, but I have contacted the developers of the Advanced Access Manager plugin as it seems that’s where my issue lies.
<p style=”text-align: left;”>I would like to thank you both for your quick follow up. This issue seems closed from a CBOX perspective.</p>
<p style=”text-align: left;”>Cheers,</p>
<p style=”text-align: left;”>Troy</p> -
AuthorPosts
- You must be logged in to reply to this topic.