admin管理员组文章数量:1122846
Some of our blog posts are randomly being effected and at the footer it's saying "There has been a critical error on this website." I enabled the Debug mode, and there seems to be an issue with the comments.php file that's in the custom theme we use. When I rename it to old, the blog goes back to normal. However, I don't think it should be kept that way.See the error below. The site is running on PHP 8.3, WP 6.5.2 The theme was custom developed by another company. Please note, I'm not a developer, so please respond in a way I could understand lol. I appreciate the feedback - thanks in advance! PS: The quick fix was duplicating the post and re-publishing it. However, that's a lot of work. And now, WP won't even let me change the year back to 2022.
Here's the error: Fatal error: Uncaught Error: Call to undefined function twentyseventeen_get_svg() in /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/comments.php:85 Stack trace: #0 /home1/schnakel/public_html/mls312/staging/wp-includes/comment-template.php(1617): require() #1 /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/single.php(120): comments_template('comments.php') #2 /home1/schnakel/public_html/mls312/staging/wp-includes/template-loader.php(106): include('/home1/schnakel...') #3 /home1/schnakel/public_html/mls312/staging/wp-blog-header.php(19): require_once('/home1/schnakel...') #4 /home1/schnakel/public_html/mls312/staging/index.php(17): require('/home1/schnakel...') #5 {main} thrown in /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/comments.php on line 85
Some of our blog posts are randomly being effected and at the footer it's saying "There has been a critical error on this website." I enabled the Debug mode, and there seems to be an issue with the comments.php file that's in the custom theme we use. When I rename it to old, the blog goes back to normal. However, I don't think it should be kept that way.See the error below. The site is running on PHP 8.3, WP 6.5.2 The theme was custom developed by another company. Please note, I'm not a developer, so please respond in a way I could understand lol. I appreciate the feedback - thanks in advance! PS: The quick fix was duplicating the post and re-publishing it. However, that's a lot of work. And now, WP won't even let me change the year back to 2022.
Here's the error: Fatal error: Uncaught Error: Call to undefined function twentyseventeen_get_svg() in /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/comments.php:85 Stack trace: #0 /home1/schnakel/public_html/mls312/staging/wp-includes/comment-template.php(1617): require() #1 /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/single.php(120): comments_template('comments.php') #2 /home1/schnakel/public_html/mls312/staging/wp-includes/template-loader.php(106): include('/home1/schnakel...') #3 /home1/schnakel/public_html/mls312/staging/wp-blog-header.php(19): require_once('/home1/schnakel...') #4 /home1/schnakel/public_html/mls312/staging/index.php(17): require('/home1/schnakel...') #5 {main} thrown in /home1/schnakel/public_html/mls312/staging/wp-content/themes/High-Performance-Framework-master/comments.php on line 85
Share Improve this question asked May 1, 2024 at 21:17 MelMel 11 Answer
Reset to default 1Pretty simple. comments.php
is trying to call a function twentyseventeen_get_svg()
which doesn't exist: Uncaught Error: Call to undefined function
You'll probably need to contact the theme developer or, just find the part of the code in comments.php (line 88) that calls the function and comment it out.
Looks like that function comes with the theme twentyseventeen
but yo're not using twentyseventeen
本文标签: Fatal error on random blog posts
版权声明:本文标题:Fatal error on random blog posts 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736308535a1933695.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论