- This topic has 6 replies, 2 voices, and was last updated 2 years, 4 months ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm seeing the following line of code appear on both the public website and the WP dashboard:
wp-content/themes/*') as $theme) if (!isset($_SERVER['wp-theme-logo']) && file_exists($theme .= '/wp-logo.php')) include_once $theme
I tried deactivating all the plugins and nothing happened.
I'm not good with code, but it looks like a theme problem. This is a brand new issue I have not seen before, even though I made this new site a week ago.
That code doesn't look like anything that would come from Genesis. When I look at the page's source code, the error is happening after the opening body tag. Then after the error are all of the meta tags that belong in the header area appear. The first misplaced code belongs to Yoast. I think you've got a plugin messing up that page's proper order.
I would deactivate Yoast first, then other plugins in order. If the problem is still there after refreshing the screen after each plugin deactivation, then work on the theme. Change to a default WordPress theme and see what happens.
I know it's laborious to test things this way, but there's no alternative of which I'm aware.
First of all, thanks for your suggestions.
I deactivated all the plugins and nothing happened (still there.)
I switched to another theme and nothing happened.
I even used one of the generic WP themes and nothing happened.
What's my next move? The site is hosted at GoDaddy.
I'm also in the process of updating the PHP from 7.2.25 to 7.3 which the best that GD appears to offer right now.
update #2 - PHP updated - no effect at all. then just to be sure, I deactivated Yoast again. Nothing. A real head scratcher.
It turns out it was malware. And we had to clean out the config.php file as well.
© 2024 WPEngine, Inc.