Snippets keep turning off on their own

[ad_1]

Hi @jonoman1,

WPCode has a built-in error-protection system that disables snippets that throw a fatal error.
From what you are describing I would look at the list of snippets and inspect the snippet right above the 2 snippets that remain active, that is likely the one causing the error.
If you can’t spot the issue directly I would try to look at the server PHP error logs.
Usually, this behaviour happens when your snippet doesn’t have an obvious error (like a syntax error) but throws an error later, like when a hook is called.

We are going to improve the error logging in the future to make it easier to spot these errors.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer