Is error_reporting (0); necessary?

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
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.
Code:
//error_reporting(0);
In other words, Membership Pro has been overwriting important value of Joomla Global Configuration, without notifying administrators! :angry:

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.

More
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

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
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.