Skip Navigation

[Resolved] Issue with Toolset Layouts

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 4 replies, has 1 voice.

Last updated by Minesh 1 month ago.

Assisted by: Minesh.

Author
Posts
#2797293

We are getting this error message from WordPress, related to Toolset Layouts.

It is alarming, can you please look into it and get back to me asap?

Here is the message:

---------- Forwarded message ---------

Date: Wed 19 Feb 2025, 23:09
Subject: [Writing.ie] Your Site is Experiencing a Technical Issue

g1IxOKx8YPb1A_asCUtqnodLFKifwcrUwLJH0bvWagPqLUgHWrClKF-N2kidotQL9zY3v81LbMZc21kRAWYvx5IFzeZB9Z9smz3cfDj8paFPtfZdqw1E3-7wk0G2oYXGyZc_99T0OWwXsV8bYQhkMmqF8Eg3je_DqhniWOyzqavVeWKisAr2vewhfzG0XdQYyVEnBsXZohNqxgnVHem34avCHowdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Toolset Layouts.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.2
Active theme: Hello Writing IE (version 1.0.1)
Current plugin: Toolset Layouts (version 2.6.16)
PHP version 8.2.27

Error Details
=============
An error of type E_ERROR was caused in line 150 of the file /home/customer/www/writing.ie/public_html/wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php. Error message: Uncaught Error: Attempt to modify property "post_type" on null in /home/customer/www/writing.ie/public_html/wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php:150
Stack trace:
#0 /home/customer/www/writing.ie/public_html/wp-content/plugins/layouts/classes-auto/wpddl.post-edit-page-manager.class.php(77): WPDD_PostEditPageManager->init()
#1 /home/customer/www/writing.ie/public_html/wp-content/plugins/layouts/classes/wpddl.class.php(367): WPDD_PostEditPageManager->add_hooks()
#2 /home/customer/www/writing.ie/public_html/wp-includes/class-wp-hook.php(324): WPDD_Layouts->init_create_layout_for_pages('')
#3 /home/customer/www/writing.ie/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home/customer/www/writing.ie/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/customer/www/writing.ie/public_html/wp-settings.php(704): do_action('init')
#6 /home/customer/www/writing.ie/public_html/wp-config.php(134): require_once('/home/customer/...')
#7 /home/customer/www/writing.ie/public_html/wp-load.php(50): require_once('/home/customer/...')
#8 /home/customer/www/writing.ie/public_html/wp-admin/admin.php(34): require_once('/home/customer/...')
#9 /home/customer/www/writing.ie/public_html/wp-admin/post.php(12): require_once('/home/customer/...')
#10 {main}
thrown

#2797878

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

First of all - I would like to know are you using Toolset Layouts plugin, having said that, did you created any Layouts?

When I try to use the recovery mode login link you shared, it says "Recovery Mode not initialized.".

#2799077

Hi.

I don't think there are any Layouts in use.

Is there anywhere I can share wp-admin access with you securely to look into this for me please?

#2799078

Minesh
Supporter

Languages: English (English )

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

Yes sure.

In order to confirm we are on same page - Can you please also exact steps that I should follow that should help 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.

#2799085

Hi Minesh,

There is no additional information I can provide to replicate the issue.

Please see my original message. Everything is contained in that. As I said, that was the email I received from WordPress alerting me to the issue.

If you login to the site you will see that the critical error occurs on the specific link given in that email. On investigation by our host, they found that page to be a page created by Toolset Layouts.

With this in mind, are you able to login to the site if I provide details? At this stage I do not want to create a staging copy as the site is huge.

Very best wishes,
Andrew.

#2799087

Minesh
Supporter

Languages: English (English )

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

*** Please make a FULL BACKUP of your database and website.***
Sure - can you please send me admin access details.

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

#2799096

Minesh
Supporter

Languages: English (English )

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

I checked but I do not find any post with ID or postmeta's post_id entry with ID 5670.

I can see the issue with the URL but I would like to inform you if you are not using Toolset Layouts plugin what if you try to disable/deactivate the Toolset Layouts plugin - Does that helps?

#2799177

Hi Minesh.

If you take a look in Layouts using the admin access I gave, you'll see I have some layouts in there, no?

#2799279

Minesh
Supporter

Languages: English (English )

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

I can see few layouts are there but all of those are falls in category "Unassigned Layouts"
=> hidden link

If you are not really using any of the Layouts, I suggest you should try to deactivate the Layouts plugin and check if that help you to resolve your issue.

#2799282

Hi Minesh,

How do I know that those Layouts are definitely not in use on the site anywhere at all?

#2799284

Minesh
Supporter

Languages: English (English )

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

well - because if you check all layouts are displayed in "Unassigned Layouts" tab that means those Layouts are not assigned anywhere.

You can just try to disable the Layouts plugin for few minutes and check if you see any issue on your site, if you see any issue you should just activate Layouts plugin again.

#2799285

But the site is huge, with thousands and thousands of pages. It's not possible to manually check everywhere.

Is there no way of knowing from within Toolset whether or not those Layouts are in use anywhere, for certain?

#2799287

Minesh
Supporter

Languages: English (English )

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

Well - On "Unassigned Layouts" tab you will see all those layouts that is unassigned. Please check the following screenshot:
- hidden link

And you do not have to check all posts, just check for all post types with few posts and pages and that is it. Even though if you have doubt then I suggest you should setup staging site and check with staging site first and then make the same changes on live site.

#2799291

In that screenshot, if they were in use anywhere would it say under "Used on"?

Secondly, what do you mean by this please: "And you do not have to check all posts, just check for all post types with few posts and pages and that is it"

Many thanks,
Andrew.

#2799292

Minesh
Supporter

Languages: English (English )

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

In that screenshot, if they were in use anywhere would it say under "Used on"?
==>
Yes - but if you check you will not find any Layout is assigned as its already on Unassigned Layouts tab but if you still want to double check then check Used On and see if its assigned anywhere.

Secondly, what do you mean by this please: "And you do not have to check all posts, just check for all post types with few posts and pages and that is it"
==>
I mean to say for every post type edit couple of posts and check if Layouts is assigend on post edit page of every post but it should not be.

As you are dealing with your live site I still suggest you should check with staging first and then go for changes on live site.