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.

Errors after installing the cbox theme

Tagged: blog, buddypress, cbox, wordpress

  • This topic has 12 replies, 6 voices, and was last updated 10 years, 9 months ago by Christian Wach.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • September 20, 2013 at 8:20 am #3639
    Jacob
    Participant

    Hi,

    I set up wordpress and installed the cbox plugin and everything works perfectly. However, when I activate cbox’s own theme I get the following php errors:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/58/11801958/html/wp-includes/widgets.php on line 788

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/58/11801958/html/wp-includes/widgets.php:788) in /home/content/58/11801958/html/wp-includes/option.php on line 571

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/58/11801958/html/wp-includes/widgets.php:788) in /home/content/58/11801958/html/wp-includes/option.php on line 572

    I also cannot really change the cbox theme options, when clicking on them some sort of error message appears at the top of the screen but it is just a blank red box with a red cross.. 🙁

    Can anyone help?
    Thanks!

    September 20, 2013 at 9:30 am #3640
    sam brown
    Participant

    hi, I have the same problem. the general consensus is that there is a plugin conflict. I have disabled all mine but still no joy – they may need to be deleted completely. Hopefully you’re not too far into the process.

    September 20, 2013 at 2:56 pm #3644
    Jacob
    Participant

    Hm I have tried de-activating all plugins, does not help. As soon as I de-activate Buddypress itself the errors are gone but that is not an option 🙂

    September 20, 2013 at 3:10 pm #3645
    sam brown
    Participant

    Same here, just trying to work out whether to actual delete all the plugins but don’t want to wipe out all my data to find that doesn’t work.

    Have people who have got theme options working got all the commons in the boxes combined plugins ticked or are some left unchecked?

    September 20, 2013 at 5:05 pm #3646
    Jacob
    Participant

    I actually managed to get theme options working after de-activating buddypress and just having the cbox theme enabled..
    What is more worrying are the php errors..

    September 20, 2013 at 5:12 pm #3647
    sam brown
    Participant

    Do you lose members when you deactivate the buddypress plugin?

    September 21, 2013 at 8:34 am #3652
    Jacob
    Participant

    Oh I am not sure, I only have one member at the moment (the admin).

    October 13, 2013 at 7:49 pm #3757
    Ken Richman
    Participant

    Has anyone found a solution to this yet – as I have the exact same issue.

    October 14, 2013 at 3:54 am #3758
    sam brown
    Participant

    Try disabling all plugins and reinstalling WordPress. Good luck, I hope it works for you.

    October 14, 2013 at 4:11 am #3759
    Ken Richman
    Participant

    Thanks Sam – I already tried this though, no luck. I think I will try a different theme

    December 22, 2013 at 10:14 am #4105
    michael pedersen
    Participant

    hey,

    i found a way to get rid of the errors when using the cbox theme.

    I have a wordpress 3.8 danish installation.

    My errors:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php on line 788

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php:788) in /var/www/techmind.dk/public_html/arduino/wp-includes/option.php on line 563

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php:788) in /var/www/techmind.dk/public_html/arduino/wp-includes/option.php on line 564

    I used codeanywhere.net to modify option.php and widget.php files

    First i removed the ‘Warning: Cannot modify header information – headers already sent’

    Simply un-comment line 563, 564, 565 i options.php

    Second i removed the ‘array’ error after reading this wordpress post: http://wordpress.org/support/topic/25-upgrade-widgetsphp-on-line-60

    In the widget.php file i added (array) in line 788:

    this was line 788 before add: $widget = array_merge($widget, $options);

    this is line 788 after the add: $widget = array_merge($widget, (array)$options);

    hope this helps

     

    😉 michael

     

     

     

     

    Attachments:
    You must be logged in to view attached files.
    August 4, 2014 at 12:55 pm #4963
    Anonymous
    Inactive

    Thank you!!!!

    This really solved my problem!

     

    August 11, 2014 at 7:51 am #4980
    Christian Wach
    Participant

    If the context for this is a WordPress non-multisite CBOX install, I think this issue should be fixed with this commit to the CBOX theme. Better than changing WordPress core files.

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