ianstudio,
That’s correct, our forum is for premium support for the Pro version of the plugin, which requires a support subscription for support and plugin updates; it looks like that’s what you have. This is a bug due to a conflict, likely with another plugin that is also declaring a class of the same name. The workaround is this – edit OAuth.php and wrap that class in an if statement; in this case it should look like this:
if ( !class_exists( 'OAuthException' ) ) {
class OAuthException extends Exception {
// pass
}
}
You may do this for any other classes in the file where you’re running into conflicts; a fixed version will be released shortly as well. Alternatively, you may deactivate the conflicting plugin.
I deactivated ALL plugins and the error persists.. hence why I wrote on here and am so frazzled.. I usually try troubleshooting on my own BEFOre asking for help.. I read YOAST SEO could have caused issues.. but I completely deleted it.. is it possible it left sh*t behind in the database ?!?
I ran the debug plugin.. is anything on here not right ?
WordPress Debug
Operating System Linux
Server Apache
Memory usage 20.45 MByte
MYSQL Version 5.0.84-log
SQL Mode Not set
PHP Version 5.3.27
PHP Safe Mode Off
PHP Allow URL fopen Off
PHP Memory Limit 128M
PHP Max Upload Size 300M
PHP Max Post Size 300M
PHP Max Script Execute Time 30
PHP Exif support Yes ( V1.4 )
PHP IPTC support Yes
PHP XML support Yes
Site URL http://ianstudio.com
Home URL http://ianstudio.com
WordPress Version 3.6.1
WordPress DB Version 24448
Multisite No
Active Theme ianstudio
Active Plugins
All in One SEO Pack Pro 2.1.4
WordPress Debug 0.2.3
Inactive Plugins
E-mail this debug information to:
I replaced line 32.. with what you gave me and it works, thanks..
But I still had no other plugin activated or even installed (deleted them all) except the Debug one.. so I’m still wondering what kept causing the error..
Ian,
That’s very strange; is it possible that your theme could be including a class like that for authentication against some service such as Google, Facebook, Twitter, etc.?
It happened on three different themes… from Themeforest.
BUILDER
ENFOLD
HEAT
Ian,
I’m not familiar with those themes, but some Themeforest themes do tend to include an unnecessary amount of functionality in them, especially for a theme, so that could well be the issue.
Enfold sold over 12’000 copies in a couple of months, so I guess you may need to take into account these themes and offer a runaround in your plugin..
Maybe also getting in contact with big sellers to discuss with the developer and see what it is they do that may be counterproductive for your plugin or vice-versa.. I’m actually amazed to seem to be the only one running into this issue on here.. I cannot be..
http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990
Other question is.. if/since this “workaround” you gave me works:
if ( !class_exists( ‘OAuthException’ ) ) {
class OAuthException extends Exception {
// pass
}
}
Why not include it by default ? Could it cause other issues ?
Ian,
As I said earlier, a fixed version will be released shortly as well, when next we update the plugin. The only potential issue here is if the OAuthException class already declared isn’t the same class, and then if that causes issues. In this case it shouldn’t, but we may end up going with a different workaround when we release.
Ian,
No, I think the concept of a naming conflict in a programming language is as old as programming languages are; that doesn’t make it any easier to resolve, though, especially when there are third-party libraries involved that may or may not do things properly.
It’s all too complicated :/ Thanks a lot though.
Other question since I got you here.. (or should I start another thread)..
Would you think it a good (or bad) idea using the following alongside ALL IN ONE SEO:
https://wpsocial.com
http://yoast.com
http://wordpress.org/plugins/wp-open-graph
Or should ALL IN ONE SEO be able to do the job of all these.. I’m trying to figure out decent SEO for my WordPress clients (aren’t we all..)
Ian,
In general I’d suggest against using multiple plugins to manage your SEO, unless they actually do completely unique things, i.e., they aren’t stepping on each other’s toes. You should be able to use the Social Meta Module in All in One SEO Pack Pro to manage Opengraph tags, for instance; but if you did need to use a different plugin for this, make sure you have that module disabled in All in One SEO Pack Pro as well. Also, we should be able to move this conversation to the Pro forums at this point, to which you should have access.
Thanks a lot.. I decided that on january 1st 2014 I’ll be Mr ProSEO :0) Talk to you later and have a good week.end :0)