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, 3 weeks 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.

Help with "Creating default object from empty value"

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 5 months ago by Chad Holcombe.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 17, 2012 at 2:06 pm #1432
    Chad Holcombe
    Participant

    I am very new here and would like to say that I am very excited for your work with Commons in a Box. Also I did my best to browse through the posts and did not see my issue. If I missed and am found to be reposting a known problem I do apologize.

    I am getting this error

    Warning: Creating default object from empty value in /** my root path **/wp-content/plugins/commons-in-a-box/includes/frontend-bp.php on line 18

    In regards to this error I did notice other plugins that had similar errors that were tied to being on php 5.4 (which I am). If anyone would have any advice on this I would greatly appreciate it.

    the line in question is

    <code>cbox()->frontend->bp = new stdClass;</code>

    December 17, 2012 at 6:06 pm #1433
    Ray
    Keymaster

    Hi Chad,

    Thanks for reporting the bug. I did not test CBOX with PHP 5.4, but this is a relatively easy fix.

    I just fixed this in our codebase and will make its way into the next release of CBOX.

    Thanks again for testing! Let us know if you have any other questions or feedback.

    With regards to these warnings, if you have WP_DEBUG turned on in wp-config.php, you can change the setting to ‘false’ and you won’t see these warnings:
    https://codex.wordpress.org/Editing_wp-config.php#Debug

    December 18, 2012 at 12:16 am #1436
    Chad Holcombe
    Participant

    Great! Hope my reporting it helped some. I don’t mind the bugs. (I tend to make more then enough of them myself.)

     

    And thank you very much for your time!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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