-
AuthorPosts
-
May 28, 2020 at 5:20 pm #1217436
Enfold: 4.7.4
WordPress 5.4.1
PHP: 7.3.18-1+ubuntu16.04.1+deb.sury.org+1 (before 7.4)I received a fatal error in WPML menu sync.
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 657 van het bestand /www/tagocofe_140/public/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Foutmelding: Uncaught TypeError: Argument 2 passed to Avia_Gutenberg::handler_display_post_states() must be an instance of WP_Post, null given, called in /www/tagocofe_140/public/wp-includes/class-wp-hook.php on line 287 and defined in /www/tagocofe_140/public/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:657
Stack trace:
#0 /www/tagocofe_140/public/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, NULL)
#1 /www/tagocofe_140/public/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /www/tagocofe_140/public/wp-admin/includes/template.php(2170): apply_filters(‘display_post_st…’, Array, NULL)
#3 /www/tagocofe_140/public/wp-includes/nav-menu.php(823): get_post_states(NULL)
#4 [internal function]: wp_setup_nav_menu_item(Object(WP_Post))
#5 /www/tagocofe_140/public/wp-includes/nav-menu.php(749): array_map(‘wp_setup_nav_me…’, Array)
#6 /www/tagocofe_140/public/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/wpml-menu-sync-functionalityDo you know how I can solve this
May 30, 2020 at 6:29 am #1217911Hey tijshensen,
Thanks for the login details. Is this happening under WPML->Sync menus? If so then what exactly do we need to do there in order to reproduce the problem?
Best regards,
RikardMay 30, 2020 at 7:33 am #1217919I have downgraded PHP to 7.3 and updated Enfold. The problem is solved. I’ll reverse to 7.4 later.
May 30, 2020 at 4:14 pm #1218014Hi tijshensen,
Glad you got it working for you and thank you for letting us know! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
