Support Forum
Have had this on and off since way back in the early days of 5.x of Simple Press. Using the File Uploader Plugin, can not get attachments to give me the option to click to upload file.
Its definitely a javascript issue, here is the error, but I have been down this rabbit hole before and testing with turning off every plugin, changed theme to WP standard, cleared caches, etc. Was basically ignoring this in the 5.x Series and figured it would resolve itself when upgrading to 6.x last year.
Suggestions on more places to look.
plupload.full.min.js?ver=5.1.1:29 Uncaught TypeError: Cannot read property 'can' of null
at j.u.onready (plupload.full.min.js?ver=5.1.1:29)
at j.<anonymous> (moxie.min.js?ver=1.3.5:1)
at moxie.min.js?ver=1.3.5:1
Hi:
The first thing I would do is ask your host to make a copy of your site onto a staging area. Most hosts' staging areas do not have host-specific caching turned on so that eliminates one potential issue right away.
Then, since you're no longer working with the live site you can aggressively turn off everything,leaving only the simple:press plugin and the pluploader plugin turned on with a stock WordPress 2017/18/19 theme.
Then using he FORUM->TOOLBOX->HOUSEKEEPING menu items you can reset the javascript and css caches there.
Now you can check - does the issue occur?
If you don't want to go to that trouble right now, you can try turning off combining CSS and JS files in FORUM->OPTIONS->GLOBAL SETTINGS and see if that somehow helps the issue.
Thanks.
PS: Maybe post your configuration here from FORUM->TOOLBOX->Environment.
PPS: I know you said you've done some of this before but if we have to start somewhere and this is the most logical place to start since you've already done most of the steps in the live environment.
Hi:
If you've already done the troubleshooting in a clean stripped down version of the site then the only other place I can think of where a conflict would come into play would be via any browser add-ons (if any are installed on your browser) or maybe a firewall issue that might be preventing a script from loading for some reason. Those are longshots but I can't think of any other outside influence that might be affecting this.
Thanks.
After working with 2 different theme developers, the problem has been found that since Simple:Press is using their own version of pupload instead of queueing the WP version, this creates the JS conflicts that causes everyone's use of Pupload to not work.
Here is code that I am using at the moment that allows Simple:Press upload plugin to work without conflicting with other themes, or WP itself. Kudo's for the code comes from the developers of Themify Themes.
In the code below page(9) is my forum page.
// added to fix conflict between Themify Themes and Simple Press Upload plugin
add_action('wp_print_scripts', 'themify_dequeue_plupload', 100000);
add_action('wp_print_footer_scripts', 'themify_dequeue_plupload', 100000);
function themify_dequeue_plupload(){
if (is_page(9)) {
wp_deregister_script( 'plupload' );
wp_dequeue_script( 'plupload' );
}
}
1 Guest(s)