Error message caused by changing version of underlying software
-
I run test systems on my own computers in order to verify correct operation prior to migrating them to my hosting service. In this case, I also thought it was time to upgrade that underlying software in order to align better with my hosting service. Therefore, this issue is related to migrating a website that is functioning correctly when running on XAMPP 7.4.33 to XAMPP 8.2.12. I think those numbers correspond to the version of PHP that applies which seems to me to be the mostly likely source of the problem.
The website in question is for displaying photographs. It uses WordPress along with the Photocrati theme that includes Nextgen plugins. It works correctly when operated using XAMPP 7.4.33. However, when I run an exact duplicate of the WordPress files and associated database on XAMPP 8.2.12 an error message gets displayed as follows:
Warning: Undefined variable $header_style in T:\xampp\htdocs\DPGsite\wp-content\themes\photocrati\inc\customizer\settings\menus.php on line 2226
I have inspected the file in question and I cannot find any code that would assign a value to that variable, which is why I suspect the problem is being caused by PHP. I would appreciate suggestions on how to proceed to correct the problem.
You must be logged in to reply to this topic.