Skip Navigation

[Resolved] Undefined class constant ‘WPML_CHECKBOX_SELECTED’

This thread is resolved. Here is a description of the problem and solution.

Problem:
A fatal PHP error with the message "Undefined class constant 'WPML_CHECKBOX_SELECTED'" occurs.

Solution:
This was an issue with Types 3.0.5, fixed in 3.0.6

This support ticket is created 6 years, 3 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 6 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#953485

Hi,

my single product page seems broken after an update of toolset types: the wp admin bar isn´t longer visible and the page isn´t loading fully (hidden link). I´ve seen the following php error:

2018/07/23 10:32:49 [error] 16589#16589: *486919 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined class constant 'WPML_CHECKBOX_SELECTED' in /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/part/option.php:139
Stack trace:
#0 /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/abstract.php(219): Types_Field_Part_Option->get_value()
#1 /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/part/option.php(225): Types_Field_Abstract->get_value_filtered(Array, Object(Types_Field_Part_Option))
#2 /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php(33): Types_Field_Part_Option->get_value_filtered(Array)
#3 /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/view.php(42): Types_Field_Type_Checkbox_View_Frontend->get_value()
#4 /home/palmewce/www.palme.wp.neuim.net/wp-content/plugins/types/application/models/field/service.php(137): Types_Field_" while reading upstream, client: 62.218.34.132, server: hidden link, request: "GET /produkt/aprejo/ HTTP/2.0", upstream: "hidden link:", host: "palme.wp.neuim.net", referrer: "hidden link"

Can you please tell me, what I´m doing wrong?

Regards,

#953510

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Rainer

We just had a report of the same on Friday and the devs are already working on a solution.

They intend to push an update today (Types 3.0.6) with a fix, please keep an eye out for it.

Sorry for the inconvenience.

#953659

Hi,

will the update come today? Would be important.

Regards,

#953679

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Yes, it is release already, please go ahead and update.