Skip Navigation

[Resolved] Critical Error on Settings and Custom Fields Pages

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 8 replies, has 3 voices.

Last updated by Minesh 1 year, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2703382
Screenshot at Jun 19 15-35-09.png
Screenshot at Jun 19 15-35-19.png

I am trying to:

Access the admin pages for Settings, Relationships, Export / Import, and Custom Fields.

Link to a page where the issue can be seen:

hidden link
hidden link
hidden link
hidden link

I expected to see:

Normal admin pages.

Instead, I got:

Critical error messages:

"There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress."

#2703461

Nigel
Supporter

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

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

Hi there

This indicates that there are fatal errors on the server, and we'd need to see details of the errors to know what might be causing them.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try visiting the same pages where you observe the problem and then inspect the log.

Please share what you find.

#2703553

debug log too long casing issue - removed

#2703619

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I checked the error log you shared and I find the following fatal error in that:

[20-Jun-2024 15:50:56] WARNING: child 1913 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: Return value of OTGS\Toolset\Twig\Node\Node::getIterator() must be an instance of OTGS\Toolset\Twig\Node\Traversable, instance of ArrayIterator returned in /www/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/lib/Twig/src/Node/Node.php:181"

We have recently received similar report and the issue was fixed by updating the Toolset Blocks plugin to latest version 1.6.15.

Here is the related ticket that might help you:
- https://toolset.com/forums/topic/block-editor-opening-blank-page/

Can you please try to update Toolset Block plugin to latest version and check if that help you to resolve your issue.

#2703704

Hi Minesh,

I was already on Toolset Blocks 1.6.15 and was seeing other errors with white screens. I updated to 1.6.16-beta2 per this post:

https://toolset.com/errata/block-editor-failing-to-open-for-some-pages/

#2704097

Minesh
Supporter

Languages: English (English )

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

May I kindly ask you to delete the log you shared from the following reply and add that log to some file and upload that log file to any online file sharing service and share the link to the following post.
- https://toolset.com/forums/topic/critical-error-on-settings-and-custom-fields-pages/#post-2703553

Can you please send me problem URL where I can see the issue or exact steps I will have to follow that should lead me to see the issue.

*** 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.

#2704346

Minesh
Supporter

Languages: English (English )

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

I can see the issue with the link you shared.

Please check the following server requirements for Toolset and make sure you have set all configurations correctly:
- https://toolset.com/toolset-requirements/

*** Please make a FULL BACKUP of your database and website.***

As the access details you shared is for production site - May I kindly ask you to share duplicator copy of your site:
- https://toolset.com/faq/provide-supporters-copy-site/

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

#2704840

Minesh
Supporter

Languages: English (English )

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

When I try to access the wp-admin it asks me for authorization access details.

Can you please send me authorization access details.

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

#2704973

Minesh
Supporter

Languages: English (English )

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

Can you please check now. I've installed and activated the Toolset Blocks plugin Version 1.6.16-beta3 and I can see all pages are back to work.

We suppose to release the official hotfix version for Toolset Blocks in a week or two. I suggest you should wait.

*** Please make a FULL BACKUP of your database and website.***
If it really urgent for you then please take full backup of your production site and check first on ***staging*** site by installing Toolset Blocks plugin Version 1.6.16-beta3 and if everything looks ok then you can go ahead and install the beta version on your production site.

#2705720

Looks like that did the trick! Thanks!