Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spl_autoload error #2

Open
nuriarai opened this issue Dec 12, 2012 · 3 comments
Open

spl_autoload error #2

nuriarai opened this issue Dec 12, 2012 · 3 comments

Comments

@nuriarai
Copy link

Hello, I just installed the term-menu-order and I got this errors in admin interface:

Warning: spl_autoload() [function.spl-autoload]: Unable to access editor_addon.class.php in /usr/home/plasticosjobgar.com/web/webwp/wp-content/plugins/term-menu-order/term-menu-order.php on line 42

Warning: spl_autoload() [function.spl-autoload]: Unable to access wp_user_search.class.php in /usr/home/plasticosjobgar.com/web/webwp/wp-content/plugins/term-menu-order/term-menu-order.php on line 42

Warning: spl_autoload() [function.spl-autoload]: Unable to access acf.class.php in /usr/home/plasticosjobgar.com/web/webwp/wp-content/plugins/term-menu-order/term-menu-order.php on line 42

However, the order input field is displayed in the screen category but when I try to save the record I obtain a header already sent error:

Warning: Can not modify header information - headers already sent by (output started at / usr / home / plasticosjobgar.com / web / webwp / wp-content / plugins / term-menu-order / term-menu-order.php: 42) in / usr / home / plasticosjobgar.com / web / webwp / wp-includes / pluggable.php on line 881

However, the data in the field is saved on database.

This is a WP 3.4.3 installation, with WPML and Types (also from IcanLocalize) plugins, so maybe they interfere in some manner in the function.

If you have any suggestion for this error I will be glad to hear you.

Thanks in advance!

Núria

@billerickson
Copy link
Owner

Hmm, I'm sending this issue to the original developer of the plugin since I've never used an autoloader before.

@nuriarai
Copy link
Author

Thanks, Bill!

@Rarst
Copy link

Rarst commented Dec 25, 2012

I think spl_autoload_extensions('.class.php'); will bork autoload for any and all other code, since it replaces defaults (or whatever other code sets them to) with this value.

Also probably has no business at all modifying include path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants