Shortcode Generator not working
-
Hi,
The wysiwyg File Away shortcode icon isn’t working when I click it.
I just end up seeing a large grey overlay instead of the shortcode generation popup.
It worked before but just stopped working all of a sudden.
Can you please assist?
P.S. Love the plugin by the way.
Thanks.
Adam.
-
Well file away hasn’t changed so something else about your environment likely has. Do you see any javascript errors in your console?
Thank you for the quick reply!
Here are the errors I’m getting:
Uncaught Error: Syntax error, unrecognized expression: https://sherwood.oddboulder.com/wp-admin/admin.php?page=cptui_manage_post_types&action=edit
https://api.hostip.info/country.php Failed to load resource: net::ERR_NAME_NOT_RESOLVEDThanks.
Adam.
Try deactivating the custom post types ui plugin and check errors again.
I’m getting these errors too:
Uncaught TypeError: Cannot read property ‘hasClass’ of undefined(anonymous function) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:720m.event.dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4m.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4e.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:8(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4m.extend.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2m.fn.m.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2m.fn.extend.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4(anonymous function) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:4j @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2k.fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2x @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5b @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5
I’ve completely deleted the plugin but am still getting errors:
Uncaught TypeError: Cannot read property ‘hasClass’ of undefined(anonymous function) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:720m.event.dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4m.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4e.event.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:8(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4m.extend.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2m.fn.m.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2m.fn.extend.trigger @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:4(anonymous function) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:4j @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2k.fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2x @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5b @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:5
I’ve completely deleted the plugin in question but I still have the issue.
I’ve refreshed my cache too.
Thanks.
Adam.
No errors in the console?
Try temporarily deactivating any other plugins to see if one of them is the culprit.
I’ve temporarily deactivated all plugins one-by-one but still aren’t having any luck.
Also, the fileaway table isn’t showing to non logged in users.
Please can you check to see where I’m going wrong?
https://sherwood.oddboulder.com/developments/valley-view/
If I’m logged in as an admin I can see the fileup and fileaway areas within the accordions; if I’, not logged in then I can’t.
I only want the manager mode to show if I’m an admin but I do still want the rest of the table to appear if the user is not logged in and is not an admin.
I think fixing the main issue may resolve the second issue. Either way, if you could help then that would be really great.
I’m happy to share my WP logins privately so you can jump in and see the issue first-hand? If so, how would I send the details to you without everyone seeing them?
Thanks.
Adam.
If you don’t already have it, add directories=true to your shortcode. The table won’t appear if there are no files in the main directory, unless you enabled directory tree navigation. For manager mode it is enabled by default.
Excellent, thanks for that. That did the trick.
The plugin is amazing by the way. It does exactly what we need it to do.
I just wish I could fix the issue that I’m having with the shortcode generator not showing.
Is there anything you can help me with on that please?
I can provide WP login details if required so you can take a look?
Thanks for the rapid response, it’s very much appreciated.
Thanks.
Adam.
If you want you can email me at fileaway.plugin at gmail
Turns out all I needed to do was refresh my browser cookies!
Fell so stupid now. ??
One more thing, is there a way to stop the page jumping back to the top when clicking between directories if the FileUp table is below the fold?
- The topic ‘Shortcode Generator not working’ is closed to new replies.