• Resolved joaquinvolpe

    (@joaquinvolpe)


    I updated my version of wordpress to 3.9 and I found the following error:

    SyntaxError: missing ) after condition
    ‘ ) || ! tinyMCEPreInit.qtInit.hasOwnProperty( edId ) ) &&

    The solution to the error is:

    File: simple_fields.php
    Method: meta_box_output_one_field_group
    Line: 1361

    Add the following line:
    $footer_scripts = htmlspecialchars_decode ($footer_scripts);

    ??

    https://www.ads-software.com/plugins/simple-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks a lot for posting this.. this fixed the issue for me ??

    This fixed my issue too! Thanks!

    I replaced:

    $footer_scripts = preg_replace('/\(function\(\){var t=tinyMCEPreInit,sl=tinymce.ScriptLoader.*/', '', $footer_scripts);
    
    With:

    $footer_scripts = htmlspecialchars_decode ($footer_scripts);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in wordpres 3.9’ is closed to new replies.