backdrop-contrib / entityform

Provides fieldable entity forms
GNU General Public License v2.0
0 stars 1 forks source link

PHP warnings related to entity view pages #6

Closed indigoxela closed 2 days ago

indigoxela commented 2 days ago

To reproduce, create an entityform type and create an instance of such a type.

With php error display enabled (on PHP 8.3), visit the newly added item. You get:

    Warning: Undefined property: Entityform::$label in Entityform->label() (Zeile 105 von /var/www/porting/html/modules/entityform/entityform.entity.inc).
    Warning: Array to string conversion in include() (Zeile 30 von /var/www/porting/html/modules/entityform/entityform.tpl.php).
    Warning: Array to string conversion in include() (Zeile 30 von /var/www/porting/html/modules/entityform/entityform.tpl.php).
    Warning: Array to string conversion in include() (Zeile 41 von /var/www/porting/html/modules/entityform/entityform.tpl.php).

A lot more warnings and errors pop up...

indigoxela commented 2 days ago

The way the permanent cache currently works, relies on a specific order - that function entityform_get_types() is called without param at first.

That's causing trouble after flushing all caches, not above warnings, but fatal errors under circumstances.