Frontend show critical error
Hallo,
I was experiencing some performance issues while working in the backend. So I investigated the problem and deleted and deactivated the revisions. After that, some frontend pages crashed. However, everything looks fine in the backend. The following text appears in the frontend (debug):
: Uncaught TypeError: Unsupported operand types: string * string in /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-includes/media.php:6300
Stack trace:
#0 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-includes/media.php(6162): wp_maybe_add_fetchpriority_high_attr(Array, 'img', Array)
#1 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-includes/media.php(1109): wp_get_loading_optimization_attributes('img', Array, 'wp_get_attachme...')
#2 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/theme-functions.php(2352): wp_get_attachment_image('51', 'full', false, Array)
#3 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/theme-shortcodes.php(9759): mfn_get_attachment('51', 'full', '', Array)
#4 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/builder/class-mfn-builder-items.php(886): sc_image(Array)
#5 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(3051): Mfn_Builder_Items::item_image(Array, false)
#6 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(2722): Mfn_Builder_Front->show_items(Array, 0, false, false)
#7 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(1622): Mfn_Builder_Front->show_wraps(Array, 0, false)
#8 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php(403): Mfn_Builder_Front->show_sections(Array, false)
#9 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-content/themes/betheme/page.php(28): Mfn_Builder_Front->show()
#10 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-includes/template-loader.php(132): include('/www/htdocs/w00...')
#11 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/wp-blog-header.php(19): require_once('/www/htdocs/w00...')
#12 /www/htdocs/w00de4bd/relaunch.orthopaedie-dr-floruss.de/index.php(17): require('/www/htdocs/w00...')
#13 {main}
thrown in
I hope you can help me.
Thank´s in advance
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact, and we will check what the reason might be.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
I received your private message, but you did not include FTP access.
Please resend a private message, but with complete information.
Thanks
We have corrected it on your website.
Please check it out.
Thanks
Oh, thank´s!
and sorry for the missing ftp-access (it´s was Friday 😅)
Can you tell me what caused the error?
Best regards
It is due to WordPress not handling SVGs properly. When SVG is missing some attributes, critical errors may occur, and Betheme must catch such situations earlier and prevent critical errors from triggering.
Best regards
Thanks for the info. That's really good to know; it seems the thumbnail regeneration caused the crash. I'll keep an eye on that!
Thanks again for the quick help!