You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a issue with the JSMin:minify(function) and Elementor. It seems to give a PHP error every once in awhile and that seems to stop the page from loading past the header.
I think there is a issue with the JSMin:minify(function) and Elementor. It seems to give a PHP error every once in awhile and that seems to stop the page from loading past the header.
[11-Jun-2019 18:08:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined method JSMin::minify() in /www/wp-content/plugins/wp-property/lib/class_functions.php:2568
Stack trace:
#0 /www/wp-content/plugins/wp-property-supermap/static/views/supermap-js.php(313): WPP_F::minify_js('<script type="t...')
#1 /www/wp-content/plugins/wp-property-supermap/lib/class-wpp-supermap.php(1131): include('/www/wp-content...')
#2 /www/wp-content/plugins/wp-property-supermap/lib/class-wpp-supermap.php(950): class_wpp_supermap::supermap_template(Array, Array)
#3 /www/wp-includes/shortcodes.php(325): class_wpp_supermap::shortcode_supermap(Array, '', 'supermap')
#4 [internal function]: do_shortcode_tag(Array)
#5 /www/wp-includes/shortcodes.php(199): preg_replace_callback('/\[(\[?)(superm...', 'do_shortcode_ta...', '[supermap hide_...')
#6 /www/wp-content/plugins/elementor/includes/widgets/shortcode.php(130): do_shortcode('[supermap hide_...')
#7 /www/wp-content/plugins/elementor/includes/base/widget-base.php(501): Elementor\Widget_Shortcode->render()
#8 /www/wp-content in /www/wp-content/plugins/wp-property/lib/class_functions.php on line 2568
To Reproduce
Install Elementor and refresh the page a bunch of times, you will most likely see the page half load at least once.
Desktop (please complete the following information):
For a temporary fix I removed the JSMin::minify function:
wp-property/lib/class_functions.php - Line 2568
Changed:
$data = JSMin::minify($data);
to
$data = $data;
The text was updated successfully, but these errors were encountered: