Skip Navigation

[Resolved] PHP 8.0.5 and Toolset Layout error

This support ticket is created 3 years 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by raivoK 3 years ago.

Assisted by: Waqar.


Wordpress Versioon 5.7.2
Toolset Layout Versioon 2.6.10
And other toolset plugins latest.

If I trying to edit the page in backend, i got error:

Site frontend working ok.

File /var/www/ in the row 1048 have error E_ERROR. Errorcode: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /var/www/
Stack trace:
#0 /var/www/ abs()
#1 /var/www/ adodb_date()
#2 /var/www/ wpcf_fields_date_value_get_filter()
#3 /var/www/ WP_Hook->apply_filters()
#4 /var/www/ apply_filters()
#5 /var/www/ FieldFactory->getValue()
#6 /var/www/ WPToolset_Field_Date->metaform()
#7 /var/www/ FormFactory->metaform()
#8 /var/www/ WPToolset_Forms_Bootstrap->field()
#9 /var/www/ wptoolset_form_field()
#10 /var/www/ wpcf_add_meta_boxes()
#11 /var/www/ wpcf_admin_add_meta_boxes()
#12 /var/www/ WP_Hook->apply_filters()
#13 /var/www/ WP_Hook->do_action()
#14 /var/www/ do_action()
#15 /var/www/ register_and_do_post_meta_boxes()
#16 /var/www/ require('...')
#17 {main}

but not all pages have this error.

If i change PHP back to 7.4 - all working correctly again, no errors.

Thank You!

Seems, that it is related to the date field.
All site is imported from drupal and and some pages I haven’t gone through yet ( if i use php 7), date format is not corrected and in the database have wrong date format.
Then gives this error message if i try use php 8.



Thank you for contacting us and I'd be happy to assist.

Compatibility testing is underway for all Toolset plugins with PHP 8 and for now, we recommend not to use it:

Once this is completed, we'll update the server requirements accordingly.



Thank you!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.