Error 500 in Google Console – Uncaught ReferenceError setMenuMinHeight is not de

Posted in: Newsmag
Post count: 36

Hi, we are getting this error 500 on google console that seems to be related to the theme. Can you please let us know how we can resolve it?

Uncaught ReferenceError: setMenuMinHeight is not defined
at Object._lazy_callback_resize_500 (tagdiv_theme.min.js?ver=4.9.6:303)
at tagdiv_theme.min.js?ver=4.9.6:307
_lazy_callback_resize_500 @ tagdiv_theme.min.js?ver=4.9.6:303
(anonymous) @ tagdiv_theme.min.js?ver=4.9.6:307

Post count: 36

we are running Newmag Version: 4.9.6

Post count: 35449

Hi,
First please make sure that all theme settings are as in our guide ->
https://forum.tagdiv.com/newsmag-requirements-for-newsmag/
and please increase all requirements that are lower, and follow all steps.

Also make sure that you do not have a plugin conflict, make a test only with theme plugins enabled.

As I know the 500 errors are internal server errors, you’ll need to make some investigations, below are some links that hope it will help you:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
https://wordpress.stackexchange.com/questions/312292/how-to-stop-a-500-error-on-the-wordpress-theme-folder
https://wordpress.org/support/topic/google-search-console-reporting-a-500-error-on-my-theme-folder/
-> https://forum.tagdiv.com/topic/wp-supercache-causes-500-internal-error-and-cannot-deactivate/

Let me know the results!
Thank you!

Post count: 36

Hi Calin,

we run some tests with the hosting provider (WPEngine) and also set up a staging site. We tried to deselect all plugins and the problem still it is there. Tracing back the issue it looks like it is related to the path: – the set MenuMinHeight – looks to be directly related to – /wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js?ver=4.9.6

So there seem to be an issue with td-composer and the theme from what we can see. When we hit hard refresh the issue seems to disappear but it then comes back

Furthermore, we tried to deselect all plugins and change to a default theme and the issue disappeared.

So the issue seems to be related to the theme and maybe td-composer. Can you please look further into it and let us know?

Thanjs

Post count: 35449

Hi,
If is coming from js files you can try to use a plugin for jquery like jQuery Migrate Helper plugin and try this option – https://www.screencast.com/t/WYlKJVLi Clear all the caches (also the browser cache).
If the problem still persist, please make a full backup and contact us at contact@tagdiv.com and provide wp-admin and cPanel access also include a link with this topic in email.
Hope this can help you!
Let me know the results!
Thank you!

Post count: 1

Identical issue here: https://www.agenziaimpress.it

Post count: 36

Hi the issue did continue. We do believe it is a theme problem. Can you please investigate your end as it doesn’t seem linked only to our site?

Post count: 35449

Hi,
Please make a full backup and contact us at contact@tagdiv.com provide wp-admin access and include the link from this topic. We’ll take a look to this problem.
Thank you for your understanding!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newsmag’ is closed to new topics and replies.