Support » Fixing WordPress » Fatal error

  • Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/u169226917/domains/52uutt.ml/public_html/wp-content/themes/Git-alpha/functions.php:2298 Stack trace: #0 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/class-wp-hook.php(290): Baidu_Submit(2788) #1 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/post.php(4652): do_action(‘publish_post’, 2788, Object(WP_Post)) #4 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/post.php(4020): wp_transition_post_status(‘publish’, ‘publish’, Object(WP_Post)) #5 /home/u169226917/domains/52uutt.ml/public_html/wp-includes/post.php(4196): wp_insert_post(Array, false) #6 /home/u169226917/domains/52uutt.ml/public_html/wp-admin/includes/post.php(407): wp_update_post(Array) #7 /home/u169226917/domains/52uutt.ml/pu in /home/u169226917/domains/52uutt.ml/public_html/wp-content/themes/Git-alpha/functions.php on line 2298
    您的站点遇到了致命错误,请查看您的站点的管理电子邮箱来获得指引。

    了解更多在WordPress中调试的信息。

Viewing 1 replies (of 1 total)
  • It is not a theme present in the wordpress repository I looked at and you are using version 7.6 (with Git-alpha folder but your style.css indicates Git-master means that the your folder should be changed to Git-master) instead the current theme is 12.2 but I believe you use a customized version so you can turn to where you downloaded this theme.
    If you can access the panel deactivate and switch to one of the predefined themes otherwise with an ftp client go to wp-content/themes/Git-alpha/ and rename it to wp-content/themes/old_Git_alpha/

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.