- Posts: 249
- Thank you received: 3
Is error_reporting (0); necessary?
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
8 years 2 months ago #94032
by hide10
Is error_reporting (0); necessary? was created by hide10
Hi there,
error_reporting (0); is written at osmembershipreminder.php at the beginning. Is this necessary?
Even if I changed the value of Error Reporting in Global Configuration > Server Settings, error_reporting (at System Information > PHP information) remained 0. 0 means error_reporting is disabled.
If I changed the source as below, Error reporting got normal.
In other words, Membership Pro has been overwriting important value of Joomla Global Configuration, without notifying administrators! 
At first I suspected that there was a problem with the hosting company, but no problems were found on the server side. I wasted a huge amount of time to identify the cause.
I ask again, Is error_reporting (0); in plugins/system/osmembershipreminder/osmembershipreminder.php necessary?
Thanks
error_reporting (0); is written at osmembershipreminder.php at the beginning. Is this necessary?
Even if I changed the value of Error Reporting in Global Configuration > Server Settings, error_reporting (at System Information > PHP information) remained 0. 0 means error_reporting is disabled.
If I changed the source as below, Error reporting got normal.
Code:
//error_reporting(0);

At first I suspected that there was a problem with the hosting company, but no problems were found on the server side. I wasted a huge amount of time to identify the cause.
I ask again, Is error_reporting (0); in plugins/system/osmembershipreminder/osmembershipreminder.php necessary?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 2 months ago #94053
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Is error_reporting (0); necessary?
Hello
No, it is not necessary. Actually, I removed it from the codebase, so it won't be there on next release 2.8.0 which I am working on at the moment
Tuan
No, it is not necessary. Actually, I removed it from the codebase, so it won't be there on next release 2.8.0 which I am working on at the moment
Tuan
Please Log in or Create an account to join the conversation.
- hide10
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 249
- Thank you received: 3
8 years 2 months ago #94061
by hide10
Replied by hide10 on topic Is error_reporting (0); necessary?
OK, thank you for your reply.
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.