Plugin activation sends a "Warning"
- This topic has 7 replies, 2 voices, and was last updated 10 years, 10 months ago by Louis Passano III.
-
AuthorPosts
-
December 25, 2013 at 4:55 pm #4113Louis Passano IIIParticipant
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 #4114Scott VothKeymasterHi 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 #4119Louis Passano IIIParticipantScott 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 #4120Scott VothKeymasterHi 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 #4122Louis Passano IIIParticipantHere 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 #4123Scott VothKeymasterHi 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 #4124Scott VothKeymasterHi 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 #4125Louis Passano IIIParticipantScott – 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 10 years, 10 months ago by Louis Passano III.
-
AuthorPosts
- You must be logged in to reply to this topic.