Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Installation/Upgrade Issues »

Warning: call_user_func_array()


  #1  
Old Jan 26, 2017, 09:18 AM
georgenoise
 
20 posts · Jul 2009
I noticed after upgrading to the latest version of WP, 4.7.1, that I now have a warning at the top of the page for one of my sites. The message is: "Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/ciportnechestx/public_html/wp-includes/class-wp-hook.php on line 298"

Has anyone seen this issue before before? I have other websites that use the same theme version (v3.7.24) and WP v4.7.1 without this issue. I'm still in the process of troubleshooting plugin compatibility issues but all the plugins are fairly well used between the different sites as well.

Thanks in advance.

Last edited by juggledad; Jan 26, 2017 at 11:55 AM.
  #2  
Old Jan 26, 2017, 11:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I haven't seen it in any of my sites - I would suspect a plugin.

The only other thing I'd ask is are the other sites on the same server? if not there might be a PHP version difference.

I don't think either of the patches would be the cause but you might want to install the two Atahualpa 3.7.24 patches
PATCH 3724-01: Custom Menu/SubMenu issue after upgrading to WP 4.4
PATCH 3724-02: Full width headers cause sticky footer to appear below bottom of page

NOTE: I edited your post and changed the WP versionfrom 7.4.1 to 4.7.1 (grin)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 15, 2019 at 09:05 AM.
  #3  
Old Apr 15, 2019, 12:04 AM
aharonium
 
7 posts · Dec 2013
I'm seeing this error as well (albeit on line 286). Since I use the Yoast SEO plugin, and a report of this error turned up in the support forum for that plugin at wordpress.org, I thought I'd provide a link from here to there and note the recommended solution (which I have not yet tested myself.)

Airot Halitov writes:
Add to theme functions.php file:

Code:
add_filter( 'wpseo_remove_reply_to_com', '__return_false' );
instead of

Code:
add_filter( 'wpseo_remove_reply_to_com', false );
Please advise where in Atahualpa's functions.php would be best to add this code -- and thank you!

Last edited by aharonium; Apr 15, 2019 at 12:12 AM.
  #4  
Old Apr 15, 2019, 09:37 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you disable the plugin, does the warning go away? If so I would complain to yoast
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP warning help please... webmom Header configuration & styling 9 Aug 11, 2014 07:35 PM
warning for object value mozllo Old Version fixes and change logs 4 Jan 27, 2014 01:38 AM
Warning in php code carpin Montezuma Theme 12 Dec 20, 2012 07:21 PM
Warning message ! problem drey Header configuration & styling 3 May 14, 2010 11:15 AM
BUG: php warning when postmeta is empty buzink Post-Kicker, -Byline & -Footer 0 Oct 12, 2009 06:53 AM


All times are GMT -6. The time now is 12:21 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.