Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #407841

    I am getting an error that is preventing me from editing menus

    It is a JavaScript Error

    Uncaught TypeError: Cannot read property ‘id’ of undefinedload-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,svg-painter,heartbeat,wp-auth-check,jquery…:333 (anonymous function)load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,svg-painter,heartbeat,wp-auth-check,jquery…:333 (anonymous function)

    It only occurs when enfold is activated.

    The variable that is being evaluated is wp.media.view.settings.post.id. I would really love to get this figured out

    You can see this on the Menu Admin screen. Just check the JavaScript console.

    #407911

    Hey!

    Try adding this line to your wp-config.php file:

    define('CONCATENATE_SCRIPTS', false );
    

    Also, you forgot the link to your site.

    Regards,
    Josue

    #408181

    oh yeah I did :-(
    https://www.geistinteractive.com

    So I added that to the top of wp-cofig.php. And now I can edit the menus. But the same wp.media.view.settings.post.id Error is still there.

    You can now see that the error is in media-audiovideo.min.js:1
    Uncaught TypeError: Cannot read property ‘id’ of undefined

    That is not a theme file

    What else can we do?

    Thanks
    Todd

    • This reply was modified 9 years, 8 months ago by toddgeist.
    #408234

    Hello,

    Have you tried disabling all third-party plugins to see if it gets fixed?

    Regards,
    Josue

    #408246

    no, but it only happens with enfold. If I switch to another theme. The error goes away.

    Todd

    #408326

    It may be a plugin-theme issue then, please try disabling all third-party plugins temporarily and check what happens. Also, is this error preventing you from doing something in the Dashboard?

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.