Strict standards wordpress hosting
When working with PHP you may occasionally see messages and errors on the screen. You have the ability to determine which types of these messages you want the PHP to print onto the screen. One of these types of messages is the E_STRICT. or 'strict standards ' message. Until recently, this type of message had to be specifically selected to display. This article will guide you on how to prevent the message from displaying on your website.
What is this error?
The 'strict standards' message is not actually an error that requires attention to the code. It is a message meant more for developers who may or may not be coding to specific standards.
Why am I getting this message?
This message is displayed via the E_STRICT setting in PHP. This is set in the php.ini file. Prior to version 5.4, this had to be explicitly called in order to show up. After the release of version 5.4, however, this message was included in the E_ALL group. If you have recently upgraded your PHP version from something less than 5.4 to 5.4 or above, this message may display. It may also display if you have transferred from another server that had a PHP version earlier than 5.4 to a server running 5.4 or later.
How do I remove the strict standards error message?
E_STRICT to the very end of it. This tells php.ini to ignoce the 'Strict Standards' messages.
Did you find this article helpful?
We value your feedback!
Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article: