-
AuthorPosts
-
March 9, 2015 at 4:31 am #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.
March 9, 2015 at 9:38 am #407911Hey!
Try adding this line to your wp-config.php file:
define('CONCATENATE_SCRIPTS', false );Also, you forgot the link to your site.
Regards,
JosueMarch 9, 2015 at 3:43 pm #408181oh yeah I did :-(
https://www.geistinteractive.comSo 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 undefinedThat is not a theme file
What else can we do?
Thanks
Todd-
This reply was modified 10 years, 8 months ago by
toddgeist.
March 9, 2015 at 4:40 pm #408234Hello,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueMarch 9, 2015 at 4:55 pm #408246no, but it only happens with enfold. If I switch to another theme. The error goes away.
Todd
March 9, 2015 at 6:25 pm #408326It 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 -
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
