I tested updating PHP 5.6 to PHP 5.7 on a STAGING site that is using a child theme (site originally started as Ethos)
The site did not experience any major issues when I upgraded the PHP, other than some paths to some images being corrupted. But the styling and the content was still in place, which is good.
Later I updated PHP 5.6 to PHP 5.7 on the LIVE site. (I did not “push” the staging site to live because it had the issues with image links.)
After updating the live site I saw that the Home page was a mess! No styling other than some colors. BUT - all the other pages are fine. They have the correct styling. All image links are working, too.
I have been working with the hosting company; I notified them that when I viewed the source code of the LIVE site and compared it to the STAGING site (STAGING site’s Home page is formatted correctly) — that I found that on the STAGING Home page source code there are links to two files that I do not see on the LIVE Home page.
These lines appear to be missing from the LIVE Home page (note: these examples do not include the actual website url):
http://abcinc.com/abc/wp-content/themes/x/framework/legacy/cranium/dist/css/site/ethos.css (the staging one used this link and it worked on staging)
The LIVE Home page uses this link: http://abcinc.com/abc/wp-content/themes/x/framework/css/dist/site/stacks/ethos.css - not sure if it works or not. Just trying to find differences.
This line is in the source code of the
http://abcinc.com/abc/wp-includes/css/dist/block-library/theme.min.css
In addition I see that there is a javascript reference on the LIVE Home page which is NOT on the STAGING Home page:
script type=‘text/javascript’ src=‘http://abcinc.com/abc/wp-content/themes/x/framework/js/dist/site/x-head.min.js’
Since this line does not lead anywhere (it does not exist!) it is not operational. But I did not see it in the source code for the STAGING Home page which shows styling.
I don’t know if these differences are causing the issue on the LIVE Home page, but I was trying to see what might be different.
The hosting company advised me to remove and re-install the theme — so I did that with the X theme. (The ethos theme doesn’t have any updates, does it?) The theme that is actually “active” is the child theme which has not been modified in years.
I don’t see a way to post private content here, so I have changed the name of the site in the urls to protect my client’s information. The instructions said there would be a “Secure Note” section, but I guess I will only see that when you reply.
I appreciate any help guidance you can give me; the hosting company does not seem to understand what is going on.
Thank you.