templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
81 stars 13 forks source link

Error message Astroid #742

Open ClemSchn2 opened 1 month ago

ClemSchn2 commented 1 month ago

Hello, for a few days now I have been getting the above error message with the TP Simple template.

0 Joomla\Registry\Registry::loadArray(): Argument #1 ($array) must be of type array, null given, called in /var/www/...../html/....../plugins/system/astroid/src/Extension/AstroidPlugin.php on line 106

https://c-schnitzler.eu/fotografie/fotowalks/rosenbluete-in-eltville.html

under this link it can be seen and affects all article views

System informations: Joomla 5.1.2 PHP 8.3 Astroid 3.1.1 All devices Desktop Mac, Tablet iPAD, IPhone – Linux Ubuntu OS Sonoma 14.5 / iOS 17.5.1 Browser Safari / Chrome – Firefox

What should I do to eliminate the error?

Many thanks for your help and best regards

Clemens

sonvnn commented 1 month ago

I fixed this issue at https://github.com/templaza/astroid-framework/commit/221e7e855573004d1128c6bdfb5ee5e409b005ff

Please help me update download v3 and recheck again.

Thanks & Best Regard, Sonny

ClemSchn2 commented 1 month ago

Thank you it works very well

ClemSchn2 commented 1 month ago

I have a additional question. Do I also have to replace lines 121 to 130?

Thank you an dbest regards

clemens

sonvnn commented 1 month ago

Yes, you should do.