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.

Plugin activation sends a "Warning"

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 4 months ago by Louis Passano III.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 25, 2013 at 4:55 pm #4113
    Louis Passano III
    Participant

    Wordpress 3.8 – Common-In-A-Box 1.0.6

    When activating a plugin with the plugin Commons In A Box active I get a Warning.  When it is not active I do not.

    <style type=”text/css”><!–
    P { margin-bottom: 0.08in; }
    –></style>
    <p style=”margin-bottom: 0in;”><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>Warning</b></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><span style=”font-weight: normal;”>: call_user_func() expects parameter 1 to be a valid callback, cannot access protected method Plugin_Dependencies::deactivate_conflicting() in </span></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>/home/jafanet2/public_html/wp-content/plugins/commons-in-a-box/lib/wp-plugin-dependencies/plugin-dependencies.php</b></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”> </span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><span style=”font-weight: normal;”>on line </span></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>509</b></span></span></span></span></span>

    <span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>Warning</b></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><span style=”font-weight: normal;”>: Cannot modify header information – headers already sent by (output started at /home/jafanet2/public_html/wp-content/plugins/commons-in-a-box/lib/wp-plugin-dependencies/plugin-dependencies.php:509) in </span></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>/home/jafanet2/public_html/wp-includes/pluggable.php</b></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”> </span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><span style=”font-weight: normal;”>on line </span></span></span></span></span></span><span style=”font-variant: normal;”><span style=”color: #000000;”><span style=”font-family: Times New Roman;”><span style=”font-size: large;”><span style=”font-style: normal;”><b>896</b></span></span></span></span></span>

    </p>
    <p style=”margin-bottom: 0in;”>What I noticed is that when deactivated all the stuff that is nested under it rises to the surface in the Installed Plugins display.  And the site still seems to work.  Any thoughts?</p>
    <p style=”margin-bottom: 0in;”>Commons in a Box works well for me.  Have tried like crazy to get a Buddypress site working for a couple of years and the CBox seems to clear the whole thing up for me.  – Louis  jafanet@jafanet.net</p>

    December 26, 2013 at 8:01 am #4114
    Scott Voth
    Keymaster

    Hi Louis – for some reason you message got inserted as html.  Here it is in a more reader-friendly version so that the dev team can take a look:

    Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access protected method Plugin_Dependencies::deactivate_conflicting() in /home/jafanet2/public_html/wp-content/plugins/commons-in-a-box/lib/wp-plugin-dependencies/plugin-dependencies.php on line 509

    Warning: Cannot modify header information – headers already sent by (output started at /home/jafanet2/public_html/wp-content/plugins/commons-in-a-box/lib/wp-plugin-dependencies/plugin-dependencies.php:509) in /home/jafanet2/public_html/wp-includes/pluggable.php on line 896

    What I noticed is that when deactivated all the stuff that is nested under it rises to the surface in the Installed Plugins display. And the site still seems to work. Any thoughts?

    Commons in a Box works well for me. Have tried like crazy to get a Buddypress site working for a couple of years and the CBox seems to clear the whole thing up for me. – Louis jafanet@jafanet.net

    Which plugin were you trying to activate when you got this warning?  Are you getting the warning on the front end or on the back end?  Warnings are generally informational, and not errors, but they might point to something that the dev team needs to investigate.  Thanks for reporting.

     

    December 27, 2013 at 1:40 pm #4119
    Louis Passano III
    Participant

    Scott thanks for that.  It seems to me that the plugin CBox is blocking the updating of plugin status display in the admin plugin menu when it is active.  The plugins supervised by it update fine.  This only seems to affect activation.  The plugin activate but the warning appears rather than the status display.  I must use the back arrow and refresh to see the display.

    Also the “Notifications” page is odd.  However I get there (admin-bar widget or menu-selection) it displays what would be a full page in the right 3/4 of the page and displays no content, just the left widgets area.

    December 27, 2013 at 5:25 pm #4120
    Scott Voth
    Keymaster

    Hi Louis – I am not totally clear about the problem.  Can you provide a screenshot of the plugin activation page where you are seeing this issue.  This will help us figure out how to resolve it.  Could be your log settings need adjusting.

    For the “Notifications” page – also a screenshot would really help.  Shouldn’t be displayed like that.  I can have the devs look at it too, if we get a little more info.  I’m assuming you are a logged in user and you go to Settings>>Notifications ?

    Thanks!

    December 27, 2013 at 10:08 pm #4122
    Louis Passano III
    Participant

    Here are the captures that you requested.   I hope this works for you.  Thank you for your help.

    WordPress 3.8 running CBOX Child Theme.  Search Engines Discouraged.

    Links to Screen Captures for plugin activation Warning  http://nimb.ws/248718

    and Notifications display problem http://nimb.ws/248719

    December 28, 2013 at 9:45 am #4123
    Scott Voth
    Keymaster

    Hi Louis – thanks for the screenshots.  I think for the first issue, you might try to configure your site logging so that it does not show these warnings.  See the following post (all the way to the bottom) for instructions:

    https://commonsinabox.org/groups/help-support/forum/topic/error-when-creating-a-group/

    Also, I see @Jacob figured out how to fix the issue.  You might want to look here:

    https://commonsinabox.org/groups/help-support/forum/topic/errors-after-installing-the-cbox-theme/

    For the second issue – this is strange.  I will open up a ticket and have the dev team look into it.  Do you think it might have to do with your child theme?

     

    December 28, 2013 at 9:54 am #4124
    Scott Voth
    Keymaster

    Hi Louis – I have entered the issue on github:

    https://github.com/cuny-academic-commons/cbox-theme/issues/179

    You can track its progress there.  Thanks.

    December 28, 2013 at 11:24 am #4125
    Louis Passano III
    Participant

    Scott – The Modification of wp-config seems to be the best solution for the “Warnings” problem (first issue).  I am more than reluctant to modify anything in wp-includes and wp-admin.  And, it works.  This issue seems to be resolved.  What I did:

    Added the following to wp-config.php at the end of the file above “/* That’s all, stop editing! Happy blogging. */”

    /*Added for CBox errors*/
    ini_set( ‘display_errors’, ‘Off’ );
    ini_set( ‘error_reporting’, E_NONE );

    I will create another topic for the “notifications” page problem.

    • This reply was modified 11 years, 4 months ago by Louis Passano III.
  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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