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 » Plugins & Atahualpa »

[SOLVED] follow-up: Error in css.php on line 137 and 138


  #1  
Old Dec 17, 2019, 05:55 AM
aharonium
 
7 posts · Dec 2013
Apologies for the new thread. The forum wouldn't let me reply to the old thread here

After a long while, I took another look at the error_log.

The errors disappeared when I added Layout MIN and MAX width numbers into the Style and Configure Layout Options.

When I removed the numbers and saved, the errors returned. So the issue appears to be that blank MIN/MAX Width layout options will produce these error messages for some reason.

Also, I did not mention this earlier but it seems like it could be relevant. There is one more error -- a PHP Warning -- that shows up just before the other errors I mentioned before.

Code:
[17-Dec-2019 10:50:20 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /.../wp-includes/class-wp-hook.php on line 288
[17-Dec-2019 10:50:20 UTC] PHP Warning:  A non-numeric value encountered in /.../wp-content/themes/atahualpa/css.php on line 137
[17-Dec-2019 10:50:20 UTC] PHP Warning:  A non-numeric value encountered in /.../wp-content/themes/atahualpa/css.php on line 138
That PHP Warning error continued to show even after I took care of the issue causing the other errors.

Code:
[17-Dec-2019 11:15:17 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /.../wp-includes/class-wp-hook.php on line 288
[17-Dec-2019 11:15:19 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /.../wp-includes/class-wp-hook.php on line 288
[17-Dec-2019 11:15:27 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /.../wp-includes/class-wp-hook.php on line 288
I'm running PHP 7.1.
  #2  
Old Dec 27, 2019, 02:35 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Your post in the other thread was in a moderation state. It has been approved and I responced there. Lets keep using that thread too all the information is in one place.

I'm closing this thread.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
layout options, php errors



Similar Threads
Thread Thread Starter Forum Replies Last Post
chmod() error in /wp-content/themes/atahualpa/functions.php on line 1016 markzip Installation/Upgrade Issues 6 Apr 10, 2017 07:08 AM
Out of memory error line 2930 tlck9 New Versions, & Updating 4 Jan 26, 2011 06:13 PM
Line 42 Char 9 - invalid argument error SunnyL Atahualpa 3 Wordpress theme 4 Sep 2, 2009 08:05 AM
Fatal Error Line 63 theme.php maguai Atahualpa 3 Wordpress theme 2 Aug 23, 2009 02:41 PM
please help error message bfa_popular_in_cat.php on line 7 tomhypno Atahualpa 3 Wordpress theme 2 Apr 12, 2009 07:17 AM


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


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