PHP STRICT Standards Related issues

Source: Internet
Author: User
Tags php software
PHP STRICT Standards Issues

Exception information:

( ! ) Strict standards:declaration of Sugaremailaddress::save () should be compatible with the that's Sugarbean::save () in D:\dev\s erver\xampp1\htdocs\sugar\include\sugaremailaddress\sugaremailaddress.php on line 1011

Call Stack #TimeMemoryFunctionLocation
1 0.0017 523432 {main} ( ) .. \install.php:0
2 0.2274 7165168 Require_once ( ' D:\dev\server\xampp1\htdocs\sugar\include\entryPoint.php ' ) .. \install.php:60

?

When running the PHP software, if you encounter a similar error, "STRICT standards", not an error, but PHP5.3 and the previous version is not very compatible. The release after 5.3 stipulates that the declaration needs to be before use.

Modify php.ini can be resolved, in fact, does not show this exception:

?

Hara PHP.ini

error_reporting = E_all | E_strict

?

Revision changed to

error_reporting = e_all & ~e_notice

?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.