Jump to content

AlexG

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by AlexG

  1. On 12/23/2022 at 4:31 AM, johnhe said:

    I have found a global fix for this bug. The fix implies Blesta 5.6.0, when used with PHP 8.1, is using deprecated code. This is not surprising and is considered normal for large projects. There is no urgency about fixing this.

    Here is the fix that enables PHP debug to be used with Blesta 5.6.0 and PHP 8.1

    edit config/blesta.php and use 

    Configure::errorReporting(E_ALL & ~E_DEPRECATED); 

    instead of the current recomendation of

    Configure::errorReporting(-1);

    Note the spelling of E_DEPRECATED is correct

    you save me ❤️

×
×
  • Create New...