Ich bin jetzt die folgende Fehlermeldung, wenn ich versuche meinen PHP (codeigniter Framework) Code Fatal error auszuführen: Call to undefined function array_column()Call to undefined function array_column()
Antwort
http://php.net/manual/fr/function.array-column.php Dies ist eine Funktion In PHP 5.5+ verwenden Sie höchstwahrscheinlich eine ältere Version von PHP
Wenn Sie kein Upgrade auf PHP 5.5 + durchführen können, können Sie diese Bibliothek https verwenden : //github.com/ramsey/array_column – cmorrissey
ich verwende derzeit WampServer Version 2.4, wie kann es sein ist nicht php5 –
Es gibt einen großen Unterschied zwischen PHP5 und PHP5.5, dass .5 ist nicht sinnlos –
Diese Funktion ist nur für PHP 5.5 +, also haben Sie wahrscheinlich die falsche Version von PHP.
- 1. Call to undefined function exif_imagetype()
- 2. Call to undefined function curl_init()
- 3. Call to undefined function filter_var()
- 4. Call to undefined function ssh2_connect()
- 5. Fatal error: Call to undefined function openssl_random_pseudo_bytes()
- 6. CakePHP - Fatal error: Call to undefined function
- 7. "Call to undefined function finfo_open()" Bluemix
- 8. Einrollen richtig (Call to undefined function curl_init())
- 9. Oracle 11g Call to undefined function oci_connect()
- 10. Call to undefined function mcrypt_decrypt() - CometChat Laravel
- 11. Codeigniter error: Call to undefined function mysql_pconnect()
- 12. Fatal error: Call to undefined function MySQLi_Result()
- 13. Fatal error: Call to undefined function finfo_open()
- 14. Call to undefined function imagecreatefromjpeg() und GD aktiviert
- 15. PHP Fatal error: Uncaught Fehler: Call to undefined function mb_internal_encoding()
- 16. PHP Fatal error: Call to undefined function session_register()
- 17. Fatal error: Call to undefined function validation_errors() in
- 18. Call to undefined function FOS \ UserBundle \ Util \ mb_convert_case()
- 19. PHP7 mit APCU - Call to undefined function apc_fetch()
- 20. Laravel 5 Fatal error: Call to undefined function database_path()
- 21. Fatal error: Uncaught Fehler: Call to undefined function curl_init() in
- 22. Eclipse-: "PHP Fatal error: Call to undefined function mysqli_connect()"
- 23. PHP + MySQL Fatal error: Call to undefined function mysql_connect()
- 24. Wordpress - PHP Fatal error: Call to undefined function get_bloginfo()
- 25. Call to undefined function oci_connect, php_oci8_12c.dll, Fenster 8.1, php5.6.6
- 26. CMake "undefined reference to function"
- 27. Call to undefined Funktion mysql_num_rows()
- 28. Alternate to array_column()
- 29. Call to undefined Methode verbinden :: prepare()
- 30. Call to undefined Methode PDO :: real_escape_string()
Bitte geben Sie einen tatsächlichen Code ein. Ohne das könnten wir dir nicht sagen, was falsch ist. – aynber
http://us2.php.net/array_column - nur in PHP> = v5.5. Sie laufen wahrscheinlich nicht 5.5. – Crontab
Eine Version der Funktion array_column(), die Sie mit PHP-Versionen vor PHP 5.5 verwenden können, finden Sie unter https://github.com/ramsey/array_column. –