Closed WorldsEndless closed 1 year ago
After working with Jeremy, pods deprecation warning has been hidden. However, we it hides all errors not just relating to PODS deprication
What was the trick? If this is stopping all debug warnings, though, it is a problem; we use those warnings heavily during development (and they are sometimes useful during production, too)
It is possible to turn it off and on. This is the php code:
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
1 should mean the debug warnings are on currently.
using a single-
name of the pods template.
These are the regular templates we use in WordPress, such as single-person.php . We learned that we can add a special comment to the top to get it to apply to different types
We get an error that PODS support for PHP in templates is deprecated. Post-Type templates are probably what they mean when they say you should use wp_templates. See this:
https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/