Fatal error: Cannot redeclare get_avatar()
When I activate the vBulletin Wordpress Bridge plugin version 10.0.5.1 on my version 3.1 Wordpress install, I am getting the following error/conflict:
Fatal error: Cannot redeclare get_avatar() (previously declared in /public_html/wp-includes/pluggable.php:1618) in /public_html/wp-content/plugins/vbbridge/vbbridge.php on line 435 Has anybody else ran in to this problem? |
Something tells me you are including pluggable somewhere before you should. pluggable.php is named that because those functions can be overridden.
Either it is a misconfigured theme or a bad plugin. |
It was a conflicting plugin after all, however it was a plugin that I needed to keep. My solution was to make the bridge plugin load first so it can define get_avatar(), by putting this code into the bottom of vbbridge.php:
Code:
function this_plugin_first() { |
All times are GMT -4. The time now is 07:02 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.