Skip to content

PHP incompatibility on PHP > 8? #140

@mattange

Description

@mattange

hi

I found when trying to start v 2.00 (at the related commit) the following when running via docker that this error pops up in console and nothing really shows up on the webpage.

Is there a maximum requirement on PHP? using PHP-FPM with docker-compose. worked as a charm with 8.1 and 1.61
Let me know if you need to know anything else.
As usual - thanks for the great work

rompr-php-1    | NOTICE: PHP message: PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string + int in /ROMPR/includes/prefs.class.php:584
rompr-php-1    | Stack trace:
rompr-php-1    | #0 /ROMPR/backends/sql/sqlite/init_database.class.php(858): prefs::upgrade_host_defs()
rompr-php-1    | #1 /ROMPR/index.php(80): init_database->check_sql_tables()
rompr-php-1    | #2 {main}
rompr-php-1    |   thrown in /ROMPR/includes/prefs.class.php on line 584
rompr-php-1    | 172.23.0.3 -  15/Jan/2023:23:20:06 +0000 "GET /index.php" 500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions