Skip Navigation

[Resolved] Bug in content editor after updating to the last version of the toolset views

This support ticket is created 3 years, 9 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Rodriguez 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#2204359

I am trying to: after updating to the last version of the toolset views plugin when I try to access the content editor to make content edits the page never ends loading. There are no errors in the php log and the debugger tool doesn't load when I try to access the content editor. i only get a white screeen and a never-ending load.

Link to a page where the issue can be seen: this is something on the backend, the frontend is working ok.

I expected to see: The content editor

Instead, I got: a white screen and a never-ending loading process

#2205529
screenshot-1.jpg
screenshot-2.jpg
screenshot-3.jpg

It may be that the screenshots I will provide could help find and resolve the issue.
After a few attempts of loading one posts (Articles de pays) I leave open the browser tab and after a while I have been able to see the content but the page is plain of sections Toolset WooCommerce, see the image below.
screenshot-1.jpg

the image below is from Toolset/Post Types
screenshot-2.jpg
you can see that there are 3292 Toolset Woocommerce elements.
The last image is from Toolset/Taxonomies
screenshot-3.jpg
take a look at scrolling bar.

Hope this images will help to resolve the issue.

I think that the editing post page take too long to load because they need to load all these Toolset Woocommerce elements each time.

#2206195

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

This is a known issue and our developers are working on a fix for it. Currently you can remove these fields by using the code below.

$wcfgs = get_posts( array(
    'post_type' => 'wp-types-group',
    'post_title' => 'Toolset WooCommerce',
    'numberposts' => 25
));
 
foreach ($wcfgs as $key => $wcfg) {
    wp_delete_post( $wcfg->ID, true );
}

Add it to your Toolset custom code section but don't activate it. Instead click on Run Now and it should remove the fields.

Please ensure that you've performed a full backup of your site before running the code.

Thanks,
Shane

#2206215

Hi Shane the code generates an error:
An error occurred while trying to rerun the snippet: E_NOTICE: Undefined index: path in file /nas/content/live/terroirsdumond/wp-content/mu-plugins/wpengine-common/plugin.php on line 1748 E_NOTICE : Undefined index: path in file /nas/content/live/terroirsdumond/wp-content/mu-plugins/wpengine-common/plugin.php on line 1748 E_NOTICE: Undefined index: path in file / nas / content / live / terroirsdumond /wp-content/mu-plugins/wpengine-common/plugin.php on line 1748

#2206303
sharErr.jpg

Hello Shane, the issue is still not resolved, please see this error message.

Image attached.

#2206313

Here's the error again, just in case:

An error occurred while trying to rerun the snippet: E_NOTICE: Undefined index: path in file /nas/content/live/terroirsdumond/wp-content/mu-plugins/wpengine-common/plugin.php on line 1748 E_NOTICE : Undefined index: path in file /nas/content/live/terroirsdumond/wp-content/mu-plugins/wpengine-common/plugin.php on line 1748 E_NOTICE: Undefined index: path in file / nas / content / live / terroirsdumond /wp-content/mu-plugins/wpengine-common/plugin.php on line 1748

#2206357

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

It seems this error is causing the script not to run. Unfortunately its being caused by one of you mu plugins.

What I recommend that you do is to log into your site using FTP and rename the folder and try running the script again.
/nas/content/live/terroirsdumond/wp-content/mu-plugins/wpengine-common

Rename the wpengine-common folder

Thanks,
Shane

#2206387

My issue is resolved now. Thank you!