My Sites are using the Pagelines lite framework and generate an error in the header and footer of every landing page.
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘Array’ was given in /home/setupabl/public_html/wp-includes/plugin.php on line 406
Any suggestions on getting rid of this?
Thanks…
Hi James,
Not sure why it’s there. The error message doesn’t explain much. Would you check to see if it’s a caused by another plugin maybe? (temp disable other plugins).
If that doesn’t work then I may can test on site if you permit.
I only have pagelines theme and landing page running on the test site http://www.setupablog.com/go/secrets/ so I’m kinda stuck
I posted this on the pagelines forum as well.
Hi James,
So the issue goes away when a different template is used?
I’m not sure how to fix it because it seems to be a theme coding issue, but I do have a hack solution to disable all error messages.
If you add this to your wp-config.php file it should quit the error message.
error_reporting(0);
Thanks.. I’ve also posted on the pagelines forum so we’ll see what they say as well.