Skip Navigation

[Resolved] Fatal PHP error when trying to modify a custom taxonomy's definition

This support ticket is created 3 years, 8 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by Saul Baizman 3 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2247781
pce catalog - custom taxonomy php error.png
edit custom category - error.gif

Hi there,

I'm trying to edit the definition of a custom taxonomy, and it's triggering a fatal PHP error. Attached is a screencast showing how to reproduce the error and a static screenshot of the error itself.

You may notice in the attachments that the error is happening on a development version of the website. I have verified that the same error occurs on the production site (pce.massart.edu).

Can someone tell me what might be happening and how to fix it?

Thank you.

Saul

#2248523

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share debug information and also make sure that you are using latest Toolset plugins.

I would like to have debug information that will help us to debug and investigate your issue:
- https://toolset.com/faq/provide-debug-information-faster-support/

#2248525

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As per our Toolset requirement Doc, if you are using PHP 8 then downgrade to PHP 7 as PHP 8 is not fully compatible and we are working on it.
- https://toolset.com/toolset-requirements/

You can see the following note is added with the above Doc:

Important notes:
- PHP 8 is currently not supported due to some issues. We’re working on fixing this. In the meantime, please use PHP 7 version.

#2248905

Hi Minesh,

Thanks for your response. Per your request, the debug information has been provided.

Regarding the PHP version, the site is running 7.4. Regarding the Toolset plugin versions, they are up-to-date. (Note that I'm using Types, Views, and Layouts.)

Thanks!

Saul

#2249453

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share admin access details so I can dive into your site admin and see whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2250487

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and I found that the issue is from the plugin "PCE Website", as soon as I deactivate that plugin I can the edit taxonomy page is working.
=> hidden link

You should check with the plugin author.

#2250885

Thanks, Minesh! I'm the author of that plugin, and I overlooked the details in the stack trace indicating the precise filename and line number that caused the error. Thanks for identifying it! I've fixed it.

Saul