وردپرس

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:

  1. in_array()
    wp-content/themes/engagev2/includes/general_function.php:266
  2. Menu_With_Description::start_el()
    wp-includes/class-wp-walker.php:147
  3. Walker::display_element()
    wp-includes/class-wp-walker.php:247
  4. Walker::walk()
    wp-includes/post-template.php:1567
  5. walk_page_tree()
    wp-includes/post-template.php:1350
  6. wp_list_pages()
    wp-includes/post-template.php:1482
  7. wp_page_menu()
    wp-includes/nav-menu-template.php:164
  8. wp_nav_menu()
    wp-content/themes/engagev2/header.php:95
  9. require_once()
    wp-includes/template.php:790
  10. load_template()
    wp-includes/template.php:725
  11. locate_template()
    wp-includes/general-template.php:48
  12. get_header()
    wp-content/themes/engagev2/page.php:4
  13. include()
    wp-includes/template-loader.php:106
  14. require_once()
    wp-blog-header.php:19

The page I need help with: [log in to see the link]

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا