وردپرس
Critical PHP Error – 6.5.2?
Hi,
We received an error which has ruined the theme and broke our website. We’re not sure if it’s related to the 6.5.2 update, which WP tried to push through.
Here’s a list of the critical errors. We’re not sure whether to reattempt to update the website manually?
Fatal error: Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, string given
in /var/www/html/wp-content/themes/engagev2/includes/general_function.php on line 266
Call stack:
in_array()
wp-content/themes/engagev2/includes/general_function.php:266Menu_With_Description::start_el()
wp-includes/class-wp-walker.php:147Walker::display_element()
wp-includes/class-wp-walker.php:247Walker::walk()
wp-includes/post-template.php:1567walk_page_tree()
wp-includes/post-template.php:1350wp_list_pages()
wp-includes/post-template.php:1482wp_page_menu()
wp-includes/nav-menu-template.php:164wp_nav_menu()
wp-content/themes/engagev2/header.php:95require_once()
wp-includes/template.php:790load_template()
wp-includes/template.php:725locate_template()
wp-includes/general-template.php:48get_header()
wp-content/themes/engagev2/page.php:4include()
wp-includes/template-loader.php:106require_once()
wp-blog-header.php:19
The page I need help with: [log in to see the link]
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس