On a new Zend Framework project created with Zend Studio, accessing the public folder, git following error
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in /usr/local/zend/share/ZendFramework/library/Zend/Loader.php on line 207
This was fixed by editing Initializer.php
Find
require_once "Zend/Loader.php";
Replace with
require_once 'Zend/Loader/Autoloader.php';
Find
Zend_Loader::registerAutoload();
Replace with
$loader = Zend_Loader_Autoloader::getInstance();
$loader->registerNamespace('App_');
3 Responses to registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0