Question on a PHP warning

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Question on a PHP warning

Postby astra » 17 Jun 2012, 07:24

I don't know if this is a Suffusion problem, but I get this warning from my server error log :

PHP Warning: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'suffusion_before_end_content' was given in /home1/esoundsc/public_html/astrablog/wp-includes/plugin.php on line 403

Am using Wordpress 3.4 and latest Suffusion, but this warning has been around since Feb 23, 2012 and just keeps recurring.

Line 403 in current WP 3.4's wp-includes/plugin.php is called from function do_action($tag, $arg = '')

In this code :
do {
foreach ( (array) current($wp_filter[$tag]) as $the_ )
if ( !is_null($the_['function']) )
call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));

} while ( next($wp_filter[$tag]) !== false );

array_pop($wp_current_filter);


Is this a Suffusion issue, or something else ? Just wondering ...

Thanks
astra
 
Posts: 28
Joined: 26 Jul 2011, 00:36

Re: Question on a PHP warning

Postby sayontan » 17 Jun 2012, 08:49

This function is available from the front-end. If you have a plugin that is trying to access this from the back-end (something like a preview plugin), that might be resulting in such errors.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Question on a PHP warning

Postby astra » 19 Jun 2012, 01:46

Thanks for your reply, at least that eliminates Suffusion as the problem, and I can look elsewhere ...
astra
 
Posts: 28
Joined: 26 Jul 2011, 00:36


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest