Somtimes site, plugin or theme will not work because of the php version that is not supported. You will not get any warning or error that will show you that php is the problem/culprit.
Make usre that your local (xampp, local by flywheel) PHP version is the same as the one on the server. There are big differencese between PHP 7.4.1 and 7.3.5 and you should be aware of that.
PHP Parse error: syntax error, unexpected end of file in
PHP Parse error: syntax error, unexpected '>'
**PHP Notice: is_embed was called **incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in
PHP Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
PHP Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page()
should be an integer representing menu position. Please see Debugging in WordPress
Check the:
1. check the theme manager '/wp-admin/themes.php' for error:
This theme doesn’t work with your version of PHP. Learn more about updating PHP.
- check the plugin manager '/wp-admin/plugins.php' for any errors