astroid-framework icon indicating copy to clipboard operation
astroid-framework copied to clipboard

Error message Astroid

Open ClemSchn2 opened this issue 1 year ago • 4 comments

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

ClemSchn2 avatar Jul 31 '24 08:07 ClemSchn2

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

sonvnn avatar Jul 31 '24 10:07 sonvnn

Thank you it works very well

ClemSchn2 avatar Jul 31 '24 14:07 ClemSchn2

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

Thank you an dbest regards

clemens

ClemSchn2 avatar Aug 01 '24 06:08 ClemSchn2

Yes, you should do.

sonvnn avatar Aug 02 '24 02:08 sonvnn

Closing as marked as solved.

felixkat avatar Feb 03 '25 10:02 felixkat