Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1816469
Wordpress 5.0 conflict
Closed

Comments

  • Tim started the conversation

    I updated to wordpress 5.0 yesterday. 

    Now when I try to make a new post, the following is showed. 

    Fatal error: Uncaught Error: Call to undefined function gutenberg_get_jed_locale_data() in /var/www/kryptofakta.dk/public_html/wp-content/plugins/penci-framework/gutenberg/gutenberg.php:78
    Stack trace:
    #0 /var/www/kryptofakta.dk/public_html/wp-includes/class-wp-hook.php(286): Penci_Gutenberg->enqueue_editor_assets('')
    #1 /var/www/kryptofakta.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/kryptofakta.dk/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /var/www/kryptofakta.dk/public_html/wp-admin/edit-form-blocks.php(357): do_action('enqueue_block_e...')
    #4 /var/www/kryptofakta.dk/public_html/wp-admin/post.php(160): include('/var/www/krypto...')
    #5 {main} thrown in /var/www/kryptofakta.dk/public_html/wp-content/plugins/penci-framework/gutenberg/gutenberg.php on line 78


    If I disable penci framework, I can post again. 

    Best regards

    Tim



  •  501
    Penci replied

    Hi,

    Sorry about this issue.

    We are checking theme with wordpress 5.0. I will release the latest version as soon as possible.

    You can use the Classic Editor plugin .

    The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the “Install Now” button next to “Classic Editor”. After the plugin finishes installing, click “Activate”. That’s it!

    Or, go to Plugins > Editor  then edit penci-framework/gutenberg/gutenberg.php file and go to line 74 and remove the code as below:

    wp_add_inline_script(
     'penci-gutenberg',
     sprintf(
     'var penci_gutenberg = { localeData: %s };',
     json_encode( gutenberg_get_jed_locale_data( 'penci-gutenberg' ) )
     ),
     'before'
     );

    After remove code,  then update file.

    Please check screenshot http://prntscr.com/ls166jhttp://prntscr.com/ls16tkhttp://prntscr.com/ls16yk

    Best Regards,

    PenciDesign