Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1307826

    hello all,

    I have since the update to wordpress 5.7.2 problems when editing pages.

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 529 der Datei /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:529
    Stack trace:
    #0 /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(389): Avia_Gutenberg->can_use_block_editor()
    #1 /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(424): Avia_Gutenberg->init_force_classic_post_types()
    #2 /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(499): Avia_Gutenberg->get_force_classic_post_types()
    #3 /mnt/web309/b2/00/5259000/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(1623): Avia_Gutenberg->force_classic_editor()
    #4 /mnt/web309/b2/00/5259000/htdocs/wp-includes/class-wp-hook.php(294): Avia_Gutenberg->handler_wp_use_block_editor_for_post_type()
    #5 /mnt/web309/b2/00/5259000/htdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters(

    I have already read through your forum posts (https://kriesi.at/support/topic/fatal-error-class-avia-gutenberg-php-on-line-529/) but unfortunately do not find a suitable solution. I have disabled plugins, disabled the gutenberg editor.

    What else can I do?

    greetings and thank you.
    Iloivar

    #1307915

    Hey Iloivar,

    Thank you for the inquiry.

    Did you install the Classic Editor plugin? Please try to disable it and toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards. Purge the cache before checking the editor again. You should also select your preferred editor in the Enfold > Theme Options > Select Your Editor settings.

    Best regards,
    Ismael

    #1308007

    Hi Ismael

    thanks for the feedback.

    -I have disabled the plugin “Disable Gutenberg”.
    -Under Enfold Child -> Performance I had already disabled merging and compressing js and css files.
    -Under Enfold Child -> Theme Options -> Select your Editor I have selected “Use WP classic Editor”. When I select “use block editor” here, the console runs full of errors and a blank page opens.

    What else can I try?

    Kind regards
    Iloivar

    #1308314

    Hi Iloivar,

    Thanks for the update. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1308316
    This reply has been marked as private.
    #1308453

    Hi,

    Thank you for the info.

    We just noticed that the site contains old versions of the theme, 4.1.2 and 4.5.6. You have to remove the older versions and upload the latest one, version 4.8.3. This should fix the block editor issue.

    Best regards,
    Ismael

    #1309159

    Hello Ismael,

    this has solved the problem. Thank you very much for your help :-)
    If someone reads this who also has the problem: the wp-classic editor must be selected in the theme options. The block editor shows (in my case) only a white page.
    the thread can be closed. :-)

    many greetings
    iloivar

    #1309335

    Hi iloivar,

    Thanks for the update, and thanks for sharing your experience. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Error on editing pages’ is closed to new replies.