Skip Navigation

[Resolved] Fatal error in Content Template that once worked flawlessly

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by ABSTRACTUS 4 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1506019

I am trying to:
The content template for our CPT Exhibition provokes a fatal error.
Before updating WP from 4.9.x to 5.3.2 there was also an error on the views, but these pages now are working. However, clicking on any exhibition item provokes the following error (with debug=true):

Fatal error: Uncaught Error: Call to undefined function wpcf_admin_validation_messages() in /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/classes/validation.php:41 Stack trace: #0 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-includes/class-wp-hook.php(288): WPCF_Validation->filter_field() #1 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters() #2 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php(376): apply_filters() #3 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields/checkboxes.php(372): wpcf_admin_fields_get_field() #4 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-includes/class-wp-hook.php(288): wpcf_fields_checkboxes_conditional_filter_post_meta() #5 /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters() #6 /var/www/vhosts/kunsthallearbo in /var/www/vhosts/kunsthallearbon.ch/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/classes/validation.php on line 41

Es gab einen kritischen Fehler auf Ihrer Website.

I am using good old Toolset Starter Theme. The error appears also with twentytwenty base theme. The site worked flawlessly on a different hosting with older PHP…

Link to a page where the issue can be seen:
hidden link and all other list entries on hidden link

#1506289
#1507505

Hi Luo
Thank you for the hint. I entered the Europe/Zurich timezone code BUT it doesn't help. Other than in the case you referred to, there is no hint on a date/time issue in the error messages.

I have tried with other PHP handlers (7.2.27, 7.3.14, 7.4.2) but nothing helped. I have switched of all plugins except Toolset, but this didn't help.

Have you recently changed anything in the data structure that might cause this error in the latest version with some Toolset shortcodes from a previous version?

Thank you, Claudius

#1507557
Bildschirmfoto 2020-02-13 um 18.51.35.png

Trying to hide the problem for the normal webvisitor by creating an alternative ARCHIV view without the links that lead to the error, another strange behaviour: When I duplicate a View is it not displayed in the list of Views hidden link. But the Views are saved somewhere, because I cannot duplicate again and assign the same name. How that? (and how to resolve??)

#1508219

Please provide database dump file(ZIP file) of your website, also point out the problem content templaet URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1535117

The zip file could not be created and downloaded… 1.3GB in size

The display issues start as soon as Toolset Starter Theme AND Toolset Layouts are switched on.

But there is another problem that came up, when entering a date with the date picker,
- the picked date -1 is written, e.g. you click on 20 March and the 19 March is added in the field :-S
- when I save the post the date field is emptied 🙁

#1535133

If you can exclude other compatibility issues, I only need the database dump file, you can follow duplicator document to get the database only package, private message box enabled again.
hidden link

#1537271
#1538161

I am downloading the files, will update here if there is anything found.

#1538197
daniel.JPG
archiv.JPG

I can install the duplicator package in my localhost with a fresh WordPress installation + the latest version of Toolset plugins + Original Toolset Starter theme 1.4.2.

Tested both URLs you mentioned above, they both work fine, see screenshot archiv.JPG and daniel.JPG

There isn't any PHP error.

So it should be a compatibility/server issue, if you need assistance to locate the problem, please provide a test site with the same problem, and fill below private message box with website login details and FTP access, I need a live website to test and debug.

#1561141
#1561159

I have managed to resolve it by moving the whole WordPress site to a different hosting provider.

No idea which component caused the error when both the Toolset theme and Toolset plugin were active…