bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

undefined array keys in php 8.1 #1258

Closed eliargon closed 1 year ago

eliargon commented 2 years ago

Trying to run an f3 app (using version 3.8.0) with php 8.16 I am getting Internal Server Error Undefined array key for.... ERROR, CLI, VERB and other $hive[...] keys. Using the suggestion of checking for isset($hove['key']) first, eliminate the first occurrence but then stop on the next one.

Any ideas on how to eliminate this?

ikkez commented 1 year ago

We need more information on this. Please reopen if problem still exists and give us some more information for reproducing the error. thanks.

eliargon commented 1 year ago

Thanks Christian, I reverted back to php 7.4.3 in order to eliminate the problem. I will try php 8.1+ in a couple of months, once I change the hosting server.