Link to a page where the issue can be seen: hidden link
I expected to see: Page loading, but page is not loading. Debug is turned on but without debug, will just show Critical error. All other errors are not causing site to crash.
Note: I have turned off Debug and downgraded to PHP 7.4 to continue testing site for go live.
I have granted WP access, but any changes to PHP version, please contact me and I will make the changes.
Instead, I got:
Fatal error: Uncaught ValueError: Missing format specifier at end of string in /home/decisis/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php:199 Stack trace: #0 /home/decisis/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(199): sprintf() #1 /home/decisis/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(104): wpcf_custom_types_register() #2 /home/decisis/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/functions.php(117): wpcf_custom_types_init() #3 /home/decisis/public_html/wp-includes/class-wp-hook.php(308): wpcf_init_custom_types_taxonomies() #4 /home/decisis/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /home/decisis/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/decisis/public_html/wp-settings.php(623): do_action() #7 /home/decisis/public_html/wp-config.php(52): require_once('/home/decisis/p...') #8 /home/decisis/public_html/wp-load.php(50): require_once('/home/decisis/p...') #9 /home/decisis/public_html/wp-blog-header.php(13): require_once('/home/decisis/p...') #10 /home/decisis/public_html/index.php(17): require('/home/decisis/p...') #11 {main} thrown in /home/decisis/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 199
Hello. Thank you for contacting the Toolset support.
I see the issue is related to the string placeholder is not added to the post type label.
Can you please navigate to: Toolset => Post types and edit your post types one by one and make sure you added the %s for labels "Parent Description" and "All Items".
For instance, for the following post type:
- hidden link
The label should be:
- "Parent Description %s" instead of "Parent Description"
- "All Items %s" instead of "All Items"
And save your post type.
You have to check with your every post type and for every label where you will have to pass the %s.
Finally, I was able to build a duplicator package.
Here are the changes you will have to made while running your site with PHP 7.4.x:
Edit post type "Signup" and "Testimonial " from Toolset => Post types and change the labels:
- from "Parent Description" to "Parent Description %s"
- from "All Items" to "All Items %s"
Edit the "Legislation" post type and I see all the labels have % sign only, so you will have to adjust with %s
- Legislation (all the labels are there with only % sign, you will have to change it to %s).
Can you please make all these changes and save your post type and then try to switch to PHP 8.2.x.