MicroTimer class is missing from 1.9.8.2
No description provided.
Comments (6)
-
repo owner -
reporter Environment: MX Linux 21 beta; php 8, firefox & Brave browser. I downloaded v 1.9.8.2, configured it for the database, and put phpliteadmin in address bar. It did not load. I am using the php built in server. It reported missing class MicroTimer. I commented out 12 lines that used MicroTimer and was able to load the page. I can’t do much, since normal queries bomb.
-
reporter Thank you!
-
The “class MicroTimer” has to be moved before the first use of it in the script, this is a change in PHP8, where Classes must be availiable in the script bevor they are used ..
In MyCase i moved the hole Class-Block to Line 45 and everthing worked fine now
-
- attached phpliteadmin.php8.0.no2.patch
Attached the Patch File which moves the class to line 45
-
I recommend using the latest development version for this issue if you are using php8. It contains loads of code shifted to to the top of the php and solved the issue in a second for me.
- Log in to comment
This is a bug that happens with PHP 8 in 1.9.8.2. Please use the latest development version. The bug is fixed there.