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 #1811194
gutenberg error
Closed

Comments

  • professorshouse started the conversation

    We updated https://www.petfriendlyhouse.com/ to Wordpress 5.0 and we are getting the following error when we try to add/edit a post or page: 

    To get around the issue I've installed the "classic editor plugin"

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

  •  501
    Penci replied

    Hi,

    Please send me your website management information ( admin url site, username and password ) . I will check it help you.


    Best Regards,

    PenciDesign

  • Peoples_Pundit replied

    Will there be a public answer to this? We have the same issue. I've commented out the enqueue function to localize the script for now.

  • professorshouse replied

    Hello 

    To see if there were any problems with our plugins running with your theme, i installed the Pennews theme on a fresh 'demo website' that only contains your theme and plugins and still have the same issue. Something is not right with the update to wordpress 5.0

  •   professorshouse replied privately
  •  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!

    Best Regards,

    PenciDesign


  •  501
    Penci replied

    Hi,

    You can  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/ls166j, http://prntscr.com/ls16tkhttp://prntscr.com/ls16yk

    Best Regards,

    PenciDesign

  •  501
    Penci replied

    Hi,

    Thank you for your feedback.

    I checked and remove this code error and install  Classic  Plugin help you.

    Please check it again.


    Best Regards,

    PenciDesign

  • professorshouse replied

    Hello 

    I am glad to see that it was a simple fix

    David

  •  501
    Penci replied

    Hi,

    Yeah, if have trouble using, please contact us. We will check it help you.


    Best Regards,

    PenciDesign

  • uğur replied

    Hi ;

    ı get this error : Fatal error: Call to undefined function gutenberg_get_jed_locale_data() in /var/www/vhosts/bosmer.com.tr/httpdocs/wp-content/plugins/penci-framework/gutenberg/gutenberg.php on line 78

    when ı want to add new post or page or portfolio, please help me fastly, this is big problem for us.

    AND no '' EDİTOR '' button under plugins. ı have recommended instead of editor

  •  501
    Penci replied

    Hi,

    Make sure that you use latest version of PenNews and plugin come from theme.

    If it doesn't work,  let's send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a lock on this help you.

    Best Regards,

    PenciDesign


  • uğur replied

    thank you very much. ı solved the problem.

    BUT ı have a new big problem. When ı update the website, This code appeared under all pages. 

    .page-template-agents .penci çapında içerik {maks. genişlik: calc (100% - 300px); }

    if you enter my website, you can see this, under pages. www.bosmer.com.tr

  •  501
    Penci replied

    Hi,

    Please  send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a lock on this help you.

    Best Regards,

    PenciDesign

  • uğur replied

    but web site is not my. ı am a worker in this company. pls can you direct me. 

  •  501
    Penci replied

    Hi,

    Thank you for your all feedback.

    Please go to Administration > Plugin, then deactive and remove Penci Framework plugin, then re-install and active again Penci Framework plugin.

    Or please go to pennews/template-parts/content-page.php file and remove code as screenshot  ( http://prntscr.com/mvu1xa )

    .page-template-agents .penci-wide-content{
        max-width: calc(100% - 300px);
    }

    If it doesn't work,  let's send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a lock on this help you.

    Best Regards,

    PenciDesign


  • uğur replied

    So much thanks for your help.

    BUT , how can ı  install  Penci Framework plugin again ?

  •  501
    Penci replied

    Hi,

    Please check video attachement 

    Best Regards,

    PenciDesign