Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1461

General Questions/New to Joomla! 5.x • Re: Error: Too few arguments to function php_uname()

$
0
0
Too few arguments to function php_uname(), 0 passed in /home/vol9_5/infinityfree.com/if0_35996828/htdocs/administrator/components/com_admin/src/Model/SysinfoModel.php on line 316 and exactly 1 expected
That is an unusual error, because, according to the PHP Reference Manual, the native PHP function php_uname does not need to have an argument included because the it has a default value 'a'.

Code:

            'php'                    => php_uname(),
The above is the line 316 of SysinfoModel.php in Joomla 5.0.3 and Joomla 5.1.0. The function does not have any arguments and it works perfectly all right, when called from System - Information - System Information, in both PHP 8.2.13 and PHP 8.3.4.

Statistics: Posted by toivo — Wed Apr 24, 2024 11:09 pm



Viewing all articles
Browse latest Browse all 1461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>