Posts: 2
Threads: 0
Joined: Sep 2015
Reputation:
0
Could it be that wordpressconnect is broken in 1.8.6? I get an error at login and logout at member.php
Fatal error: Cannot redeclare get_theme() (previously declared in /var/www/html/mypage/board/inc/functions.php:5089) in /var/www/html/mypage/wp-includes/deprecated.php on line 2956
Posts: 1.367
Threads: 201
Joined: Apr 2009
Reputation:
24
It works for me. Did you enable the runkit extension?
Posts: 2
Threads: 0
Joined: Sep 2015
Reputation:
0
09-17-2015, 01:42 AM
(This post was last modified: 09-17-2015, 01:54 AM by thegamer93.)
I have runkit and cURL enabled. It worked before I updated myBB and Wordpress. I did it wrong and updated both, so I dont know where it broke.
edit:
fixed it:
I commented out the get_theme function in the deprecated.php and now it works!
regards
Posts: 1.367
Threads: 201
Joined: Apr 2009
Reputation:
24
Since the get_theme is in the deprecated file of wordpress it seems to be no longer needed and your solution should be fine. Glad it's working now!
Best regards
Lennart Sauter
Posts: 3
Threads: 0
Joined: Sep 2009
Reputation:
0
Hello. Does this work with Wordpress 4.3.1 ?
I use an existing mybb account to login on wordpress and get ERROR: Invalid username.
Posts: 1.367
Threads: 201
Joined: Apr 2009
Reputation:
24
It should work on 4.3.1, yes. Did you logout/login again with the existing MyBB account? WP accounts for existing MyBB accounts are created on login.
Posts: 3
Threads: 0
Joined: Sep 2009
Reputation:
0
I have tried to logout and login on mybb and I get an "Error establishing a database connection", after that I refresh an I am logged in on mybb normaly. Should this mean it doesn't create the user on wordpress ?
Posts: 1.367
Threads: 201
Joined: Apr 2009
Reputation:
24
Looks like the database is missing something there. Could you PM me your site info?