MicroTimer class is missing from 1.9.8.2

Issue #401 new
James Frey created an issue

No description provided.

Comments (6)

  1. phpLiteAdmin repo owner

    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.

  2. James Frey 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.

  3. Pink Pantherchen

    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

  4. Jo Voigt

    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.

  5. Log in to comment