backdrop-contrib / references

References module for Backdrop CMS
GNU General Public License v2.0
2 stars 6 forks source link

PHP 8 warnings #15

Closed jenlampton closed 2 years ago

jenlampton commented 2 years ago

I am running one of my backdrop sites on PHP 8, and I see the following warning 4 times on every page:

Deprecated function: Required parameter $form_state follows optional parameter $input in include_once() (line 1509 of backdrop/core/includes/bootstrap.inc).

This error is not terribly useful, since that line is

include_once BACKDROP_ROOT . '/' . $filename;

But I think I've tracked this down to the references module, since the same instances of $form_state follows optional parameter $input in two places, and by fixing those my warnings go away :)

jenlampton commented 2 years ago

hm. this seems to be fixed already in 1.x-1.x. Perhaps all we need is a new release :) Closing.