Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 55 forks source link

PHP-error form.php line 221 and line 226 after fresh installing #811

Closed Karpfensami closed 2 months ago

Karpfensami commented 8 months ago

Hello, I have installed Seblod version 4.3.1 on a fresh Joomla 4.4.3 system on a xampp (version 3.3.0, with php 8.1) server. If I would like add a new field I got any errors at the storage area. error seblod new field

Has anybody an the same problem? How can I fix it?

Best regards, Christoph

Ilya-Zhulin commented 8 months ago

Hi, it's a problem with PHP 8+ correct this row with this: if (strpos($config['item']->storage_table ?? '', '#__cck_store_form_') !== false) {

Ilya-Zhulin commented 8 months ago

Also you can fix possible problems from these pulls

Karpfensami commented 8 months ago

Thank you for the very fast answer. Line 221 is fixed, the message on line 226 is still open.

Ilya-Zhulin commented 8 months ago

As a temporary solution add ?? ''after third parameter of function. I hope that developers assigned it and fix in next release

Karpfensami commented 8 months ago

Thank you for your helping!

sebastienheraud commented 2 months ago

Hi,

These notices are fixed in upcoming 4.4.0 package.

Thanks,
Saba