Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Updates/wp-debug errors

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 7 months ago by Troy Welch.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 20, 2016 at 6:35 pm #6097
    Troy Welch
    Participant

    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 3767

    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

    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 #6098
    Scott Voth
    Keymaster

    Hi 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 #6099
    Christian Wach
    Participant

    @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 is true:

    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 #6100
    Troy Welch
    Participant

    Hi 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>

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register