Strange PHP-related problem
On the same reseller hosting account, I have several different cPanel accounts.
I've created a few websites using the very same theme, and mostly the same choice of plugins.
However, one particular site, let's call it "A" gives a PHP error code.
"Undefined variable $custom_content in /home/blabla/public_html/wp-content/themes/generatepress_child/functions.php on line 51"
Other sites use the same theme and the same child-theme custom code.
They all run fine on PHP 7.4.
With PHP 8.0, site A starts reporting that problem.
Using exactly the same PHP configuration (extensions, version etc.).
Is it possible to have PHP configured differently by the hosting provider on a per-cPanel account level?
The only notable difference between website A and the others is the time when the cPanel account was created.
I still haven't tried completely deleting the cPanel account and re-creating it. Not sure if that makes sense to try.
I can't tell you which hosting to buy, but I've written in great detail about the providers I've used so far:
BikeGremlin web-hosting reviews