Don't work with 3.5.2 MultiSite
-
Hi,
It’s don’t work with WP 3.5.2 MultiSite. He say it:
Fatal error: Call to undefined function wp_get_current_user() in /home/username/public_html/wp-includes/capabilities.php on line 1451
And does’nt show my wordpress page. Please fix it.
-
Hi feriman,
wp_get_current_user() is a WordPress function, not WangGuard function http://codex.wordpress.org/Function_Reference/wp_get_current_user
All my installations are WP Multisite 3.5.2 and are working fine.
Upload WordPress again. I think you have a problem in WordPress.
In any way, you can access by FTP and rename the folder wangguard /wp-content/plugins/wangguard ant it will fix the problem, because WangGuad is calling that WordPress function.
Hi again feriman,
You can see here the line in WangGuard 1.5.7
http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.7/wangguard-admin.php#L294
But here in all versions:
1..5.6 -> http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.6/wangguard-admin.php#L289
1.5.5 -> http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.5/wangguard-admin.php#L308
This function is used by WangGuard (without modification) from version 1.3.0
http://plugins.trac.wordpress.org/browser/wangguard/tags/1.3/wangguard-admin.php#L287
Really, I don’t know why you have this problem now.
I get the same problem in my multisite install:
Fatal error: Call to undefined function wp_get_current_user() in /home/synthorg/public_html/wp-includes/capabilities.php on line 1451by changing the folders name all it does is deactivate the plugin.
When I reactivated it with the new folder name I still got the same error.
One last thing I even reinstalled WP and still got same error.
Hi,
I need more info about this propblem. I can not recreate the problem. All my 16 installations are working fine.
I need:
– PHP Version.
– WordPress Version (3.5.2)
– BuddyPress?
– Another plugin that you use. All plugins please.
– Where do you see the error? front page, wp-admin or wp-admin/network at all screens or only in one screen?Can you activate wp-debug please? http://codex.wordpress.org/WP_DEBUG Maybe it give you more info.
Thank you
EDIT: I forgot it… Did you used WangGuard 1.5.6?
PHP 5
PHP 5 Handler: SUPHP
Apache suEXEC: On
Apache Ruid2: Off
WordPress Version (3.5.2)
BuddyPress is installedNetwork activated plugins:
WPMU DEV Dashboard
Post Indexer
Network Plugin Auditor
Multisite Global Search
Multisite Plugin Manager
BuddyPress
Automatic Updater
WPMU Anti-Splog (same error with this installed and uninstalled)
Like the gentleman said above, worked until version 3.5.2 of wordpress.
I am using the latest WangGuard Ver. 1.5.7. Don’t have access to Ver. 1.5.6 anymore.Hi,
The problem is not WangGuard, is Multisite Plugin Manager.
Deactivate that plugin and you will see that all works again (with WangGUard active)
There is something wrong when WangGuard and Multisite Plugin Manager are in the same install.
At this time, you you have to choose between WangGuard and Multisite Plugin Manager.
I can investigate why it is happenning, but the mystery is solved.
Kind regards
It would be nice if you can fix this because that plugin is almost as awesome as yours. I’ll deactivate his and activate the plugins enabler plugin and see if I get the same error. It’s not as good as Multisite Plugin Manager but does essentially the same thing.
PS: I don’t get the error with the plugins enabler plugin installed.
Hi johnzenausa,
I asked to the developer few hours a go. The problem is that plugin is breaking WangGuard. I don’t know why. That plugin is forcing WangGuard to do something that it don’t have to do.
http://wordpress.org/support/topic/multisite-plugin-manager-is-breaking-wangguard?replies=1
Thank You
You’re welcome
After look for a fix, I found a Fork of Multisite Plugin Manager that works fine.
The Developer forked that plugin because he had a lot of problems like yours.
I tested the plugin and works fine with out problems.
You can Download the plugin from this link:
https://github.com/wp-repository/multisite-plugin-manager/archive/master.zip
You will need to rename the plugin folder from multisite-plugin-manager-master to multisite-plugin-manager
You can see all the code here:
https://github.com/wp-repository/multisite-plugin-manager
I mark this topic as resolved.
Kind regards
That was fast, thanks, it’s working perfect now.
You’re welcome
The topic ‘Don't work with 3.5.2 MultiSite’ is closed to new replies.