
-
AuthorPosts
-
August 27, 2020 at 1:58 am #1241056
Hello!
Building my site with Enfold + Woocommerce.
The site appears strange with Enfold. Everything works like charm with standard themes when i try to switch.
Allthough i tried to activate and deactivate plugins and none of the plugins seems to be a problem but Enfold theme.
The page is very strange, my pages is not appearing, some functions seems not working etc.
Any thoughs ?
In urgent need of help. thank you in advance.—————-
The error i am getting from automated WP tool is:`An error of type E_ERROR was caused in line 671 of the file /var/www/majiestic.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught TypeError: Argument 1 passed to Avia_Gutenberg::handler_display_post_states() must be of the type array, null given, called in /var/www/majiestic.com/public_html/wp-includes/class-wp-hook.php on line 287 and defined in /var/www/majiestic.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:671
Stack trace:
#0 /var/www/majiestic.com/public_html/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(NULL, Object(WP_Post))
#1 /var/www/majiestic.com/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/majiestic.com/public_html/wp-admin/includes/template.php(2221): apply_filters(‘display_post_st…’, Array, Object(WP_Post))
#3 /var/www/majiestic.com/public_html/wp-includes/nav-menu.php(822): get_post_states(Object(WP_Post))
#4 [internal function]: wp_setup_nav_menu_item(Object(WP_Post))
#5 /var/www/majiestic.com/public_html/wp-includes/nav-menu.php(748): array_map(‘wp_setup_nav_me…’, Array)
#6 /var/www/majiestic.c—————————–
And this is what im getting while trying to push deafult “Customize”
Fatal error: Uncaught TypeError: Argument 1 passed to Avia_Gutenberg::handler_display_post_states() must be of the type array, null given, called in /var/www/majiestic.com/public_html/wp-includes/class-wp-hook.php on line 287 and defined in /var/www/majiestic.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:671 Stack trace: #0 /var/www/majiestic.com/public_html/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(NULL, Object(WP_Post)) #1 /var/www/majiestic.com/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array) #2 /var/www/majiestic.com/public_html/wp-admin/includes/template.php(2221): apply_filters(‘display_post_st…’, Array, Object(WP_Post)) #3 /var/www/majiestic.com/public_html/wp-includes/nav-menu.php(822): get_post_states(Object(WP_Post)) #4 [internal function]: wp_setup_nav_menu_item(Object(WP_Post)) #5 /var/www/majiestic.com/public_html/wp-includes/nav-menu.php(748): array_map(‘wp_setup_nav_me…’, Array) #6 /var/www/majiestic.c in /var/www/majiestic.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 671
There has been a critical error on your website. Please check your site admin email inbox for instructions.
————————-August 27, 2020 at 9:48 am #1241148Hey REMADesign,
I’m getting this error when trying to login with the credentials you gave:
Error: Cookies are blocked due to unexpected output.
Please turn off the wordpress debug temporarily.
Also, are you using PHP 7.2?Best regards,
NikkoAugust 27, 2020 at 10:50 am #1241162Hi!
Strange, this error was not there yesterday. My host downgraded the PHP 7.4.9 to 7.2 according my ticket about this issue during the night. So i woke up to this error after their downgrade to 7.2 during this night, the reason was that they think that Enfold is not compatible with 7.4.9.
-
This reply was modified 4 years, 8 months ago by
REMADesign.
August 27, 2020 at 12:29 pm #1241181Hi REMADesign,
PHP 7.4.9 was just released in Aug 6 this year (source: https://www.php.net/ ) so it may not be fully compatible with a lot of themes and plugins.
I would suggest using PHP 7.3 for now :)Best regards,
NikkoAugust 27, 2020 at 12:40 pm #1241187Thank you for advice!
Already notified them to update to 7.3
What do you think about my original error ? Was it because of PHp 7.4.9? Or this is some other problem?-
This reply was modified 4 years, 8 months ago by
REMADesign.
August 27, 2020 at 3:12 pm #1241224You can check it now, the Cookie error is over.
August 28, 2020 at 6:32 am #1241408Hi REMADesign,
The reason might be because of PHP 7.4.9 since it’s just recently released (Aug. 6, 2020) according to PHP.net so it might not be fully compatible with Enfold atm though some PHP 7.4.x versions (like 7.4.1 and 7.4.2) are fully compatible.
I have tried but it still didn’t work, after using either username or email, I got this:
406 Security Incident Detected Your request was blocked. Please try again later.
Best regards,
NikkoAugust 28, 2020 at 9:23 am #1241470Sorry for inconvenience, the page looks like living own life nowadays after error. Im providing you new credentials.
August 28, 2020 at 1:06 pm #1241567Hi REMADesign,
No worries :)
The problem is coming from the incompatibility between AliDropship Woo Plugin and Enfold.
You can see it working properly when the plugin is deactivated.Best regards,
NikkoAugust 28, 2020 at 1:07 pm #1241568Thank you very much Nikko is there any way i can make them work toghether ? Because Enfold is the best theme on market and i don’t want to change it ?
August 28, 2020 at 1:20 pm #1241570Hi REMADesign,
You’re welcome.
To be honest I’m not sure how to make them work together at the moment since I’m not very familiar with the plugin.
It would take a lot of time fixing it and also tweaking for 3rd party plugins (except for major ones) are outside the scope of our support :(Best regards,
NikkoAugust 28, 2020 at 1:22 pm #1241572Thank you for assistance. :)
August 28, 2020 at 2:37 pm #1241586Hi REMADesign,
Thanks for understanding :)
I’ll be closing this thread.
Thanks for using Enfold and have a great weekend!Best regards,
Nikko -
This reply was modified 4 years, 8 months ago by
-
AuthorPosts
- The topic ‘Enfold + Update = Fatal error (Need help)’ is closed to new replies.