Conversation
supportGood day, When I logged into my site to update today, I Column Shortcodes immediately registered the following error: Failed to load plugin: so-premium-font-selector from url https://www.stclairgardens-bia.com/wp-includes/js/tinymce/plugins/so-premium-font-selector/plugin.min.js . Unless I deactivate Column Shortcodes, Visual Editor widgets will NOT display. This is on every page. WordPress updated today to 5.5 and I noticed now there is a notice stating that the plugin has not been tested with this version of WordPress. To edit or update my pages I have to deactivate Column Shortcodes. If I forget to reactivate the plugin, the codes will display on my live site. Is there a workaround for this plugin or an update that will be fix this issue? Thank you. Eric
Eric, If you’re comfortable editing the plugin code, the workaround appears to be changing line 35 of assets/js/admin.js from using .live() to .on() . $( '#cpsh .insert-shortcode' ).live( 'click', function( e ) { becomes $( '#cpsh .insert-shortcode' ).on( 'click', function( e ) { Hope this helps.
Thank you, dear sir! You are one in a million, Burt!
Hi and thank you for your suggestion which I was able to change through the editor. That works fine when viewing the live webpage. It removes the shortcodes that were displaying. However it doesn’t resolve the issue when i’m updating my pages. With Column Shortcodes plugin deactivated this is what my page should look like when I’m editing my WordPress page. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Deactivated-Column-Shortcode.png With Column Shortcodes plugin activated this is how my page editor displays. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Activated-Column-Shortcode.png Is there a way to fix this issue without me having to deactivate Column Shortcodes plugin every time I need to update my pages? Are you working on an update that will resolve the issue and work with WordPress 5.5? Thank you again, Eric This reply was modified 5 years, 9 months ago by Jan Dembowski . Reason: Expanded shortlinks
@efran1526 Don’t use shortlinks in these forums. Those get expanded when found and I have expanded yours.
That’s fine. It wasn’t to hide anything, just found them to be too long.
@efran1526 When editing the page, with the Column Shortcodes plugin enabled, hold down the CTRL key and click on the browser’s reload button. I suspect that you’re running into a local Chrome browser caching issue after making the change to the Javascript file. If that doesn’t help, then you might want to look for the error messages in the console within the Developer Tools in Chrome. btw, I’m not the developer of the plugin, just another user like you.
Burt! Thank you! the CTRL reload worked. I’m a happy camper again. Eric
@efran1526 Good to hear! It would have gotten uglier if that didn’t resolve it.
We just released version 1.0.1 with the fix provided by @burt Thanks, @burt for your contribution!
Thanks for the update @dungengronovius . Any chance of merging in a pull request ( https://github.com/codepress/column-shortcodes/pull/28 ) to address double slashes in the path? Apart from what @emaildano mentions, this can also cause the request to be blocked by certain Cloudflare rules.
Eric, If you’re comfortable editing the plugin code, the workaround appears to be changing line 35 of assets/js/admin.js from using .live() to .on() . $( '#cpsh .insert-shortcode' ).live( 'click', function( e ) { becomes $( '#cpsh .insert-shortcode' ).on( 'click', function( e ) { Hope this helps.
Thank you, dear sir! You are one in a million, Burt!
Hi and thank you for your suggestion which I was able to change through the editor. That works fine when viewing the live webpage. It removes the shortcodes that were displaying. However it doesn’t resolve the issue when i’m updating my pages. With Column Shortcodes plugin deactivated this is what my page should look like when I’m editing my WordPress page. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Deactivated-Column-Shortcode.png With Column Shortcodes plugin activated this is how my page editor displays. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Activated-Column-Shortcode.png Is there a way to fix this issue without me having to deactivate Column Shortcodes plugin every time I need to update my pages? Are you working on an update that will resolve the issue and work with WordPress 5.5? Thank you again, Eric This reply was modified 5 years, 9 months ago by Jan Dembowski . Reason: Expanded shortlinks
@efran1526 Don’t use shortlinks in these forums. Those get expanded when found and I have expanded yours.
That’s fine. It wasn’t to hide anything, just found them to be too long.
@efran1526 When editing the page, with the Column Shortcodes plugin enabled, hold down the CTRL key and click on the browser’s reload button. I suspect that you’re running into a local Chrome browser caching issue after making the change to the Javascript file. If that doesn’t help, then you might want to look for the error messages in the console within the Developer Tools in Chrome. btw, I’m not the developer of the plugin, just another user like you.
Burt! Thank you! the CTRL reload worked. I’m a happy camper again. Eric
@efran1526 Good to hear! It would have gotten uglier if that didn’t resolve it.
We just released version 1.0.1 with the fix provided by @burt Thanks, @burt for your contribution!
Thanks for the update @dungengronovius . Any chance of merging in a pull request ( https://github.com/codepress/column-shortcodes/pull/28 ) to address double slashes in the path? Apart from what @emaildano mentions, this can also cause the request to be blocked by certain Cloudflare rules.