-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
header.php, footer.php or sidebar.php template missing deprecated notice #1
Comments
As seens from: https://github.com/roots/sage-woocommerce
|
Issue do not seem to have a proper fix.
Made few non-conclusive tests.
Error:
Notice: Theme without sidebar.php is deprecated since version 3.0.0 with no alternative available. Please include a sidebar.php template in your theme. in C:\laragon\www\mnp\wp-includes\functions.php on line 3984
. (also withheader.php
orfooter.php
).See roots/sage#610.
NOT WORKING:
I didn't success to prevent only prevent notice error to no be displayed.
~~Remove "notice" verbose level:
I removed "notice" verbose level from output using a mu-plugin.Create
/wp-content/mu-plugins/verbose.php
Containing:
error_reporting(E_ALL ^ E_NOTICE); //all except notice
In
wp-config.php
adderror_reporting(E_ERROR | E_WARNING | E_PARSE); //report only error, warning, parse errors
Source that have some useful links also about customizing verbose level (and this).
The text was updated successfully, but these errors were encountered: