You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PHP8.0 and 8.1 the access of undefined variables and properties is creating a warning.
I'm getting: Warning: Undefined property: stdClass::$href in /var/www/homepages/XXXX/public_html/vendor/contao-bootstrap/grid/src/Resources/contao/templates/gallery/bs_gallery_default.html5 on line 11.
If I correct the line from <?php if ($col->href): ?> to <?php if (isset($col->href) && $col->href): ?>
it works.
Could you correct that within the code too please?
Btw: same issue occured within the navbar.
The text was updated successfully, but these errors were encountered:
In PHP8.0 and 8.1 the access of undefined variables and properties is creating a warning.
I'm getting: Warning: Undefined property: stdClass::$href in /var/www/homepages/XXXX/public_html/vendor/contao-bootstrap/grid/src/Resources/contao/templates/gallery/bs_gallery_default.html5 on line 11.
If I correct the line from
<?php if ($col->href): ?>
to<?php if (isset($col->href) && $col->href): ?>
it works.
Could you correct that within the code too please?
Btw: same issue occured within the navbar.
The text was updated successfully, but these errors were encountered: