Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jenny

    (@geekyposh)

    Works for me too, thank you!

    Jenny

    (@geekyposh)

    The latest update broke my site as well. Here is the error from the error log:

    [05-Nov-2021 10:25:51 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php:122
    Stack trace:
    #0 /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php(122): in_array()
    #1 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): LazyBlocks_Templates->register_post_type_args()
    #2 /home/ctj6t5e/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #3 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(424): apply_filters()
    #4 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(400): WP_Post_Type->set_props()
    #5 /home/ctj6t5e/public_html/wp-includes/post.php(1520): WP_Post_Type->__construct()
    #6 /home/ctj6t5e/public_html/wp-includes/post.php(41): register_post_type()
    #7 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): create_initial_post_types()
    #8 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #9 /home/ctj6t5e/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #10 /home/ctj6t5e/public_html/wp-settings.php(578): do_action()
    #11 /home/ctj6t5e/public_html/wp-config.php(105): require_once('/home/ctj6t5e/p...')
    #12 /home/ctj6t5e/public_html/wp-load.php(50): require_once('/home/ctj6t5e/p...')
    #13 /home/ctj6t5e/public_html/wp-blog-header.php(13): require_once('/home/ctj6t5e/p...')
    #14 /home/ctj6t5e/public_html/index.php(17): require('/home/ctj6t5e/p...')
    #15 {main}
      thrown in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php on line 122
    [05-Nov-2021 10:25:51 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php:122
    Stack trace:
    #0 /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php(122): in_array()
    #1 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): LazyBlocks_Templates->register_post_type_args()
    #2 /home/ctj6t5e/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #3 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(424): apply_filters()
    #4 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(400): WP_Post_Type->set_props()
    #5 /home/ctj6t5e/public_html/wp-includes/post.php(1520): WP_Post_Type->__construct()
    #6 /home/ctj6t5e/public_html/wp-includes/post.php(41): register_post_type()
    #7 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): create_initial_post_types()
    #8 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #9 /home/ctj6t5e/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #10 /home/ctj6t5e/public_html/wp-settings.php(578): do_action()
    #11 /home/ctj6t5e/public_html/wp-config.php(105): require_once('/home/ctj6t5e/p...')
    #12 /home/ctj6t5e/public_html/wp-load.php(50): require_once('/home/ctj6t5e/p...')
    #13 /home/ctj6t5e/public_html/wp-blog-header.php(13): require_once('/home/ctj6t5e/p...')
    #14 /home/ctj6t5e/public_html/index.php(17): require('/home/ctj6t5e/p...')
    #15 {main}
      thrown in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php on line 122
    [05-Nov-2021 10:25:53 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php:122
    Stack trace:
    #0 /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php(122): in_array()
    #1 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): LazyBlocks_Templates->register_post_type_args()
    #2 /home/ctj6t5e/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #3 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(424): apply_filters()
    #4 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(400): WP_Post_Type->set_props()
    #5 /home/ctj6t5e/public_html/wp-includes/post.php(1520): WP_Post_Type->__construct()
    #6 /home/ctj6t5e/public_html/wp-includes/post.php(41): register_post_type()
    #7 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): create_initial_post_types()
    #8 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #9 /home/ctj6t5e/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #10 /home/ctj6t5e/public_html/wp-settings.php(578): do_action()
    #11 /home/ctj6t5e/public_html/wp-config.php(105): require_once('/home/ctj6t5e/p...')
    #12 /home/ctj6t5e/public_html/wp-load.php(50): require_once('/home/ctj6t5e/p...')
    #13 /home/ctj6t5e/public_html/wp-blog-header.php(13): require_once('/home/ctj6t5e/p...')
    #14 /home/ctj6t5e/public_html/index.php(17): require('/home/ctj6t5e/p...')
    #15 {main}
      thrown in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php on line 122
    [05-Nov-2021 10:26:06 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php:122
    Stack trace:
    #0 /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php(122): in_array()
    #1 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): LazyBlocks_Templates->register_post_type_args()
    #2 /home/ctj6t5e/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #3 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(424): apply_filters()
    #4 /home/ctj6t5e/public_html/wp-includes/class-wp-post-type.php(400): WP_Post_Type->set_props()
    #5 /home/ctj6t5e/public_html/wp-includes/post.php(1520): WP_Post_Type->__construct()
    #6 /home/ctj6t5e/public_html/wp-includes/post.php(41): register_post_type()
    #7 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(303): create_initial_post_types()
    #8 /home/ctj6t5e/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #9 /home/ctj6t5e/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #10 /home/ctj6t5e/public_html/wp-settings.php(578): do_action()
    #11 /home/ctj6t5e/public_html/wp-config.php(105): require_once('/home/ctj6t5e/p...')
    #12 /home/ctj6t5e/public_html/wp-load.php(50): require_once('/home/ctj6t5e/p...')
    #13 /home/ctj6t5e/public_html/wp-blog-header.php(13): require_once('/home/ctj6t5e/p...')
    #14 /home/ctj6t5e/public_html/index.php(17): require('/home/ctj6t5e/p...')
    #15 {main}
      thrown in /home/ctj6t5e/public_html/wp-content/plugins/lazy-blocks/classes/class-templates.php on line 122

    Downgrading back to the previous version fixed the issue for now.

    • This reply was modified 3 years ago by Jenny. Reason: adding error log
Viewing 2 replies - 1 through 2 (of 2 total)