-
-
Hi!
On a local installation, I’m receiving a warning from the template on the home page, when some header option like “With border top” are selected. Here’s an extract:
C:\wamp64\www\mywebsite\wp-content\themes\specular\includes\view\header-classic.php on line 74 Call Stack #TimeMemoryFunctionLocation […]
Could you help me with that? Thank you
-
Please check your web server fulfills the below characteristics at least value.
memory_limit = 256M
post_max_size = 64M
upload_max_filesize = 64M
max_execution_time = 300
max_input_time = 1000
Php 8.2.xThanks,
-
All these variables where updated accordingly in the php.ini and php version was updated to 8.2.0, but the warning’s still there
-
I’ve added a debug line in header-classic.php, and as the warning said, the variable does not exist at line 74. Printing some more shows that “codeless_get_mod(‘header_style’)”‘s value is ‘header_2’, so that initialization of said variable is skipped all together on condition of line 44
-
Adding header_2 to the conditions seems to be enough. Does it make sense with the rest of the code?
-
Also, there is this other issue which might be related to this one. There is a very weird formatting with the header. I’ve tried and reproduced this issue on a fresh install:
– create a fresh wordpress install on a new database
– install specular and all of its required plugins
-> at this point the header displays normally on chrome or firefox
– change the header style to any other style
– change it back to simple style (or use the reset option)
-> the header lack any spacing (on firefox or chrome (cache deactivated))Thanks for your help
-
In my eye use this approach:
Buy a webhosting and dont attach or buy the domain just use temporary url and setup there, I cant verify or check whats happening or what config is there on your local PC / Server. -
I’ve reinstalled everything on a remote Debian install, but then I could not reproduce the problem, so I’ll leave it to that at this point and come back to you if anything.
-
-
You must be logged in to reply to this topic.