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 #1813449
Error while editing or writing a post
Closed

Comments

  • digitalsporty started the conversation

    Hi there, since yesterday i cant edit or write a post as this error flashes whenever i attempt those two things- "

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


    I deactivated the penci framework plugin, then it did work but nothing was visible on my home page then :). Kindly help me sort this issue as soon as possible. :)


  •  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!

    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/ls166jhttp://prntscr.com/ls16tkhttp://prntscr.com/ls16yk

    Best Regards,

    PenciDesign