I have configured Moodle 3.6. Our moodle database is using pgsql. Moodle is working without any issues. I configured auth db plugin to connect to another database to sync users. Then when I run the cron job (Synchronise users task) I get this error '
Error: database driver problem detected
The site administrator should verify server configuration
PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.'
However web server is communicating with pgsql database server to run Moodle without any issue. Why I am getting this error only in external database auth plugin? This error happens on pgsql_native_moodle_database.php,