-
AuthorPosts
-
May 7, 2020 at 4:01 pm #1210754
Hi,
I get this error when i try to go to sync wp menu’s.
Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563 Stack trace: #0 /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor() #1 /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types() #2 /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types() #3 /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(661): Avia_Gutenberg->force_classic_editor() #4 /var/www/vhosts/pittcooking.com/httpdocs/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states() #5 /var/www/vhosts/pittcooking.com/httpdocs/wp-includes in /var/www/vhosts/pittcooking.com/httpdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563I have the classics editor enabled in the theme settings.
Any suggestions?Thanks
ErikMay 7, 2020 at 5:32 pm #1210773Hey Erik,
Can we ask for the versions of the following on your site:
1. PHP
2. WordPress
3. EnfoldBest regards,
NikkoMay 8, 2020 at 11:19 am #1210980HI Nikko,
Here is the requested info
PHP: 7.4.5 (FPM)
Wordpress: 5.4.1
Enfold: 4.7.4Greets
ErikMay 8, 2020 at 11:22 am #1210984There is also another thing with WPML language selector that shows up twice in the main menu
I work on an offline copy of the website so on pittcooking.com you can’t see what I describe
The IP for the testing environment is in the private contentThanks
Erik
May 8, 2020 at 2:15 pm #1211030Hi Erik,
Can you try to switch to PHP version 7.3? some users seems to have issues fixed reverting to this PHP version.
Best regards,
NikkoMay 8, 2020 at 2:47 pm #1211050Hi Nikko,
I did, but this does not fix the error
Thanks
ErikMay 8, 2020 at 4:45 pm #1211084I fixed the language switcher issue in the style.css
.av-language-switch-item {
display: none !important;
}May 8, 2020 at 8:56 pm #1211197Hi PITT,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Also please provide us with FTP access.
Best regards,
NikkoMay 9, 2020 at 9:16 am #1211363Hi Nikko,
The url for login is in the private section
Please notice I’m working on a copy of the website on another server.
I provided the IP alsoThe language that I’m working on for the restyling is Dutch/Nederlands.
There I changed the wp-menu items in footer 1.
When I try to sync the menu’s the error comes upThanks
ErikMay 9, 2020 at 9:07 pm #1211499Hi PITT,
I tried to login in the link you gave but instead of logging me in, it shows:
Forbidden You do not have permission to access this document.
Best regards,
NikkoMay 11, 2020 at 8:22 am #1211765Hi Nikko,
I provided the login credentials in private content, hope this works.
Erik
May 12, 2020 at 9:34 pm #1212369Hi Erik,
I tried the link and login credentials you gave but it shows this:
Onbekende gebruikersnaam. Opnieuw controleren of probeer je e-mailadres.
Best regards,
NikkoMay 13, 2020 at 12:59 pm #1212600Hi,
Sorry for this, I created the account again after deleting the existing.
See private contentErik
May 15, 2020 at 5:07 am #1213113Hi Erik,
It’s still the same, I have posted in a link for the screenshot in private content after trying the credentials you posted.
Best regards,
NikkoMay 15, 2020 at 10:24 am #1213211Hi Nikko,
My guess is that you are trying to use the login on the live website.
The site is copied to another server by me for restyling.
That server is the IP address i provided you.
To check if you look at the live website or the one I’m working on is simple. The live site has a dark layout, the new one is light.If you use this IP to point your computer to when you open pittcooking.com you will see the site I’m working on and where you have an account.
I double checked the login credentials and they are working fine for me (see screenshot)Hope this will help you further.
Thanks
ErikMay 18, 2020 at 4:35 pm #1214067Any succes yet?
May 19, 2020 at 5:49 am #1214187Hi Erik,
I apologize for the delayed response since I got some issues on my end.
I’m not really sure about the procedure you’re taking for this instruction Server IP for the host file on your computer. I think I’m missing some steps.
If I go to the IP itself it would show this:Web Server's Default Page This page is generated by Plesk, the leading hosting automation software. You see this page because there is no Web site at this address.
Can you give us steps or maybe an article we can follow?
Best regards,
NikkoMay 19, 2020 at 3:13 pm #1214349This reply has been marked as private.May 21, 2020 at 3:21 am #1214855Hi Erik,
Thanks for the instructions, I was able to go to the site and tried to login however, I can’t go inside the wp-admin page, I’m getting this (screenshot in private content):
Server Error 403 Forbidden
Best regards,
NikkoMay 21, 2020 at 9:00 am #1214929Hi Nikko,
Do you see the page with a full screen foto slider on the site url pittcooking.com?
I’ve asked someone else from outside my domain to try and will keep you posted on this.One thing is that you have to accept the certificate by hand! It is a self written one for development purposes. Maybe that helps.
I will get back to you soon\
Greets
ErikMay 21, 2020 at 8:47 pm #1215080Hi Nikko,
We tested and it works fine.
Perhaps something is wrong in your host file. Could you show me the contents?
If you ping the domain after activating the IP in your host file, do you get the right IP back via ping?This is support the other way around at the moment, which confuses me.
If you don’t succeed I’d like you to pass the issue through. As my client expect results (from me).
I’m not getting the feeling we can work this out in the way you handle things and the progress of my work is held up by this.Looking forward to solving this as soon as possible.
Thanks
ErikMay 23, 2020 at 8:15 pm #1215574Hi Erik,
I apologize for that, it isn’t the usual process and I’m not very familiar with it.
I have posted the screenshot of my hosts file in private content.
I have asked my colleagues to look into this.Best regards,
NikkoMay 24, 2020 at 11:08 am #1215688Hey,
Could you please try updating enfold\config-gutenberg\class-avia-gutenberg.php with this one https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_7_4/config-gutenberg/class-avia-gutenberg.php in Editor > Appearance and check if that helps?
Also, it would be great if you could set up a testing site and provide us the logins as we only connect to sites that are publicly accessible. Thanks!
Regards,
YigitMay 24, 2020 at 4:58 pm #1215810Hi Yigit,
Tried your suggested fix, but the error remains. See private content.
Greets,
ErikMay 24, 2020 at 5:02 pm #1215813May 24, 2020 at 5:06 pm #1215814June 2, 2020 at 10:00 am #1218701Hi Yigit,
Any thoughts?
Thanks
ErikJune 2, 2020 at 11:36 am #1218743Hi,
Thank you for the update.
We will include a patch for this error in the next release. For now, you can use the fix provided in the following thread.
Related threads:
// https://kriesi.at/support/topic/enfold-fatal-error-only-in-customize-w-hummingbird-page-cache-many-sites/#post-1216994
// https://kriesi.at/support/topic/fatal-error-class-avia-gutenberg-php-on-line-529Best regards,
IsmaelJune 4, 2020 at 5:02 pm #1219465Hi,
The fix did not work for the site I’m working on.
I now disabled classic editor in the settings, so the block editor is used.
Then the sync works without the error.The thing is I’d rather not use the block editor as I think it’s is confusing for my client at the moment.
But that’s not your problem ;-)Thanks so far
Erik
June 8, 2020 at 8:10 am #1220372 -
AuthorPosts
- The topic ‘WMPL gives fatal error’ is closed to new replies.