Sorry, error displaying default_shortcode shortcode.
-
After upgrading to the latest version of WordPress. The CPT UI shortcodes are not working displaying the following error.
“Sorry, error displaying default_shortcode shortcode.”
The website link is: https://lavalleecentre.com/massage/
-
Which plugin did you update? The free CPTUI plugin, or CPTUI-Extended specifically. Also what version to what version?
Some more info request: the shortcode being used in this case, and if you’ve done anything around customizing templates.
The message is coming from the error.php template file, and should only get loaded if the plugin can’t find any other, more appropriate template file.
When I update my CPTUI plugins from the following versions respectively
Custom Post Type UI Extended From 1.2.1 to 1.3.1
Custom Post Type UI From 1.3.5 to 1.5.3
It worked flawlessly.
When I update WordPress core from 4.6.6 to 4.7.5 the shortcode problem raised.
Hmm, not aware of any compatibility issues with WP version. For some reasons it’s not finding the intended template.
Can you confirm what files are located in
/wp-content/plugins/cptui-extended/templates/? That’s where the files should be, including theerror.phpfile that’s presently being loaded for some reason.You also didn’t answer my question about any sort of customizing template files. Even something like renaming the file would be a potential issue.
Thanks Michael for the quick response.
We have not made any changes in plugin.
the current plugin ( version 1.3.1 ) template folder holding the following files
edd.php
error.php
list.php
page.php
posts.php
post-type.php
single.php
slider.php
taxonomy-list.php
woo.phpIn the old version of the plugin(1.2.1) before the update, there is no post-type.php file in the templates folder.
And I cannot able to select the options like ‘ featured_image,order_by ‘ etc in the shortcode from the backend editor by clicking the button “CPTUI”
“The shortcode to embed” dropdown value is None all time.The current shortcode for the page
https://lavalleecentre.com/massage/
is as follows
[cptui cptui_posttype=”treatment” cptui_shortcode=”default_shortcode” cptui_shortcode_id=”666″ featured_image=”on” order_by=”title” order=”ASC” taxonomy-category=”Massage”][/cptui]any changes in the shortcode format?
I guess there is a problem with shortcode generator.
another question, I can see the latest version of the plugin is 1.4.3 (http://docs.pluginize.com/article/42-changelog)
why didn’t I get the plugin update notification from my WordPress backend?
-
This reply was modified 9 years ago by
immujune30.
If you haven’t applied your license key, or are using a license key acquired before the start of December 2016, you’re probably not getting notified of available updates. An example of an old license key will start with “wc_” from when Pluginize was WooCommerce based. In December we switched to EasyDigitalDownloads.
No changes were made to the shortcode format.
I still don’t have a great answer for what’s going on with the template loading. It should be loading the posts.php file, from everything I can see in the CPTUI-Extended core code.
At this point, I think we should take this debugging off the public forum here. Can you contact our support via the form found at https://pluginize.com/contact/ ? Use “Technical Support” for the reason, and please provide a link to this forum thread in the message so we can keep things organized.
Hey Mic,
Thanks for the advice to get support from the Pluginize Team.
They are awesome and addressed the issue by upgrading my plugin to the latest version ie 1.4.3 it solved all the shortcode related issues and working great in the backend.
Cheers!
Glad we could help.
-
This reply was modified 9 years ago by
The topic ‘Sorry, error displaying default_shortcode shortcode.’ is closed to new replies.