error_reporting set to 0

  • Richard Fontaine
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #88536 by Richard Fontaine
error_reporting set to 0 was created by Richard Fontaine
Hello,
in many cases now, since I uploaded Membership pro, I can't display errors on my browser.
After first investigation, I saw that in many files of membership pro, there is a line error_reporting(0) which maybe a good explanation of my problem.
all these files have that code:
loader.php
mod_membershipplans.php
mod_membershippro_view.php
mod_membershipstatus.php
membershipplans.php
osmembershipcleaner
osmembershipreminder.php
registrationredirect.php
Can you give me a better solution that deleting all these lines from your code ?

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

More
8 years 6 months ago #88538 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic error_reporting set to 0
Hi Richard

In Membership Pro -> Configuration,there is a config option called Debug Mode. Set it to Yes and Membership Pro will set error_reporting (E_ALL) in the code instead of error_reporting(0); and you should see the errors

Regards,

Tuan

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