Skip Navigation

[Resolved] Most Toolset blocks not available

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

Problem:

Activating the MemberPress Courses extension caused most Toolset blocks to disappear from the standard WordPress block editor because MemberPress restricted the allowed block types too broadly.

Solution:

MemberPress confirmed the issue and plans to fix it in an upcoming release. As a temporary workaround, use the provided allowed_block_types_all filter in the child theme’s functions.php file or through WPCode, then remove it after updating to the fixed MemberPress Courses version.

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.

This topic contains 11 replies, has 1 voice.

Last updated by lucyD 1 week, 5 days ago.

Assisted by: Christopher Amirian.

Author
Posts
#2868434

Most of the Toolset blocks are no longer available in the WordPress block editor.

The only Toolset blocks available are View, Form and Content Template.

#2868451

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. You will need to update Toolset blocks.

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "Check for Updates" button.
- Update Toolset plugins there.

Thanks.

#2868497

I have made sure everything is up-to-date but I am still only seeing those three Toolset blocks.

#2868556

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Thank you. Would you please test whether the same issue occurs in a minimal setup? This will help us determine whether it is caused by a plugin or theme conflict.

- IMPORTANT STEP! Create a backup of your website. A better approach would be to test this on a copy or staging version of the website to avoid any disruption to the live site.
- Switch to a default theme, such as Twenty Twenty, by going to WordPress Dashboard > Appearance > Themes.
- Go to WordPress Dashboard > Plugins and deactivate all plugins except:
- Toolset Blocks
- Toolset Types
- Check whether you can still reproduce the issue.
- If the issue no longer occurs, reactivate the plugins one by one and check the issue after each activation to identify the plugin causing the conflict.

If the issue persists, I'd appreciate it if you could provide the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.

It is absolutely important that you confirm that you have a backup so that, if anything unexpected happens, you will have a restore point.

Please make sure you set your next reply as private.

Thanks.

#2868813

Christopher Amirian
Supporter

Languages: English (English )

Hi Lucy,

Thank you for the information.

At the moment, we do not have an official integration with the MemberPress plugin. Therefore, I recommend contacting the MemberPress support team as well so they can investigate the issue from their side.

I will also be happy to report this to our compatibility team. However, please note that, since MemberPress is not officially integrated with Toolset, we cannot guarantee that a fix or workaround will be provided.

To help us investigate, I created a clean WordPress installation with the latest Toolset plugins, which you can access here:

hidden link

Please install the MemberPress plugin there and reproduce the issue. Once it can be replicated on the sandbox website, I will report it to our compatibility team.

Thanks.

#2868937

Hi Christopher

I have installed MemberPress and the MemberPress Courses extension.

It reproduces the issue. If you go to a page you will see that the only Toolset blocks available are Content Template and View. If you deactivated the MemberPress Courses plugin all blocks are available as normal.

Best wishes
Lucy

#2869239

Christopher Amirian
Supporter

Languages: English (English )

Hello Lucy,

Thank you. I reported this to the compatibility team. As mentioned, there is no guarantee of a fix, and the priority for such scenarios will be low.

The best way is to contact MemberPress plugins and ask for help.

I will get back to you if I have news.

Thanks.

#2869379

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Would you please update Toolset Blocks to version 1.6.26 and if you have other Toolset plugins please make sure that they are up to date.

Thanks.

#2869558

Hi Christopher

Yes, everything is up-to-date.

Best wishes
Luct

#2869561

Christopher Amirian
Supporter

Languages: English (English )

Thank you. Did you contact MemberPress support? I already reported this on our side.

#2869924

I have logged a ticket with MemberPress Support and will let you know what they come back with.

#2869972

Hi Christopher

MemberPress got back to me with a solution...

"Thank you for reaching out.

The new MemberPress Courses version restricts the block editor's allowed block types more broadly than intended, which is why blocks are missing from your standard posts and pages. This has been reported to the development team and should be fixed in an upcoming release.

In the meantime, here is a temporary snippet that restores the full block list in the standard post and page editor, while keeping the restriction in place for the template editor (wp_template and wp_template_part), where it belongs:

// Re-allow everything in the normal post/page editor.
add_filter('allowed_block_types_all', function ($allowed, $context) {
// Re-allow everything in the normal post/page editor.
if (isset($context->post) && !in_array($context->post->post_type, ['wp_template', 'wp_template_part'], true)) {
return true;
}
return $allowed;
}, 20, 2);

Add it to your child theme's functions.php file, or use the WPCode plugin. This is a stopgap only, so please remove it once the fixed Courses version is released."

Thanks for your help.
Best wishes
Lucy