[Closed] Conflict with Toolset Plugins Affecting Custom Block Patterns
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I hope this message finds you well. I am experiencing an issue where my custom block patterns are not displaying when Toolset plugins are activated. The patterns work correctly and are visible when I deactivate all Toolset plugins, suggesting a conflict.
Here is the error that appears in my browser console:
/wp-json/wp/v2/blocks?context=edit&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
This issue is hindering my ability to use custom block patterns effectively on my WordPress site. Could you please provide assistance or guidance on how to resolve this conflict?
Firstly, if you see a message "the server responded with a status of 500" that means an error occurred on the server during a request, and it would be helpful to know what the actual error is.
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:
That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor.
Repeat the steps that give the server error message, and then check the debug.log file. Please share the errors you find there (from the time the error message was triggered).
Can you also clarify where you see the server error message? What are you doing at the time? Inserting one of your custom patterns into a page? Editing the custom pattern in the theme editor? Something else?
And, lastly, can you provide details of your custom patterns. Are they just created in the theme editor, or are you registering custom patterns? If so, do you register a pattern by adding a php file to the /patterns/ directory of your theme, or are you using code and the register_block_pattern function?
Are you able to share a sample custom pattern that causes the problem with Toolset?
The topic ‘[Closed] Conflict with Toolset Plugins Affecting Custom Block Patterns’ is closed to new replies.