JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

spl_autoload loading an unrelated class? #10

Closed Geczy closed 12 years ago

Geczy commented 12 years ago
[02-Jul-2012 16:07:11 UTC] Class 'jigoshop_product' not found
           C:\wamp\php\php_error.php, 2034
        #0 C:\wamp\php\php_error.php(2368): php_error\ErrorHandler->reportClassNotFound('jigoshop_produc...')
        #1 [internal function]: php_error\{closure}('jigoshop_produc...')
        #2 [internal function]: spl_autoload_call('jigoshop_produc...')
        #3 C:\wamp\www\envato\php-login-user-manage\header.php(3): session_start()
        #4 C:\wamp\www\envato\php-login-user-manage\home.php(1): include_once('C:\wamp\www\env...')
        #5 {main}

On a completely unrelated script from Wordpress, separate directory etc, it seems php_error.php is trying to verify the class jigoshop_product? Jigoshop is a Wordpress plugin.

I don't think this will help but here's the output:

Geczy commented 12 years ago

Closed thanks to 845a5a96a6af1adb7a29594abc95edd0bd81d6be

@JosephLenton , if you want a commit message to close an issue automatically, just include "fixes #10" or "closes #10". Apologies if you already know this and were just waiting for me to confirm before closing.

Great work, you're quite quick