LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
386 stars 232 forks source link

fix: deprecated each() function #379

Closed oxconan closed 2 months ago

oxconan commented 3 months ago

This function has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.

PHP Fatal error:  Uncaught Error: Call to undefined function each() in lib/external/pear/PEAR.php:781\nStack trace:\n#0 [internal function]: _PEAR_call_destructors()\n#1 {main}\n  thrown in lib/external/pear/PEAR.php on line 781

Ref: https://www.php.net/manual/en/function.each.php

oxconan commented 3 months ago

@JohnVillalovos @effgarces

I will fix some php issues... this is first PR

-- Thu Cao