Here’s the error from the log file
PHP Fatal error: Call to a member function fetchAll() on a non-object in /home/{mysite}/public_html/wp-content/plugins/external-db-auth-reloaded/external_db_auth.php on line 341
Are you sure you didn’t update something in your external database which might have caused it to stop working?
Hi guys,
I just installed the plugin for the first time. I’m also using WP 4.3.1, and I got the exact same error message that ajonesdc posted. As soon as I hit the wp-login.php page, a txt file is created in the /wp-content/ folder titled error.11-23-2015.txt, and it contains this same error message.
I’m working with a fresh install. This plugin is the first and only one that I’ve installed. I didn’t even enter any settings on the settings page yet.
I will also note that I’m working on a local installation, using MAMP. Not sure if that matters, but thought I’d point it out.
Joshua, I do appreciate all the work you’ve put into the plugin. Thanks for contributing to the community. — If you have any thoughts on what might be occurring, and have a few spare minutes to take a look, we’d appreciate it.
Thanks,
Dave
One thing I left out that might help troubleshoot…
When I hit the wp-login.php page, in addition to the text file being created with the error, I get a 500 internal server error on the login page.
I’ve just tested this plugin on a production server, and it is still working. I don’t test this plugin a dev box anymore because it yields false results. If the external database you are testing with is on a different server, then the MySQL host will need to be the IP address or the server name. You can also do error checking to pinpoint the issue.
Thanks for the response, Joshua. I’ll try it on a production server instead of my local one.
I’m trying to connect to a MSSQL server. Are there any caveats there? — I am using the IP address as the host.
You have to make sure that the following PHP extension is installed and activated: php_pdo_sqlsrv