My website seems to be fine, but I’m getting this error. Will doing this help/change anything?

My website seems to be fine, but I’m getting this error. Will doing this help/change anything?

Hi,
Those code is already added in the theme.
You can check these files to verify.
wp-content/themes/x/framework/legacy/cranium/headers/views/global/_header.php wp-content/themes/x/framework/legacy/cranium/footers/views/global/_footer.php
A plugin could be causing this error,.
You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Let us know how it goes!
Following the given path:
wp-content/themes/x/framework/legacy/cranium/headers/views/global/_header.php
it looks like the header is fine.
For the footer when I follow:
wp-content/themes/x/framework/legacy/cranium/footers/views/global/_footer.php
it has <?php wp_footer(); ?> on the line 19 not on line 1.

Changing that to line 1 didn’t seem to make a difference because the error was still there after refreshing. But, I’m wondering why there error is telling me to go to the footer.php in the theme editor and add it there. Why is that one different from the one I got via ftp.

Also, the header is different in the theme editor:

Hi There,
Theme editor has some limitations and we do not recommend to use theme editor to add your customizations.
Please refer to the following thread for more information (https://theme.co/apex/forum/t/header-and-footer-php-errors/17431/6).
Thanks!
So, I already have the base.php. Should I just ignore the error then?
Hello There,
Please ignore the message as it only check the header.php. The plugin does not recognised the template structure of the theme. As long as the theme works with the plugin, you may ignore the message.
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.