• Resolved mcmimik

    (@mcmimik)


    Hello!

    We broke our site after plugin update from 1.1.9 to 1.2.1.

    Wordpress debug said:

    Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50553 Library:100021 in /home/somename/www/wp-includes/wp-db.php on line 1635

    Fatal error: Class ‘WPSMTP\Admin’ not found in /home/somename/www/wp-content/plugins/wp-smtp/wp-smtp.php on line 49

    We have now rolled back to the previous version. But could you please help us with this bug?

    We use WP 5.5.1 and PHP 5.6.30-0+deb8u1.

    P.S. BTW, the contact form does not work here: https://wpsmtpmail.com/contact/
    After I submit the message, I saw red border warning: “5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials z6sm271776qkl.39 – gsmtp”.

    Best wishes,
    Andrei

Viewing 3 replies - 1 through 3 (of 3 total)
  • I fixed this bug in my local install by changing line 26 in wp-smtp.php to:

    require_once __DIR__ . "/vendor/autoload.php"

    I also recreated the composer autoload scripts by running composer dumpautoload -o in the plugin directory.

    The plugin was taken over by Yehuda Hassine sometime after September 2018. The most recent version on github is 1.1.9 by the previous owner. The new project owner needs to make these changes in his own copy of the plugin then release a new version. He also needs to test more thoroughly before releasing versions to the public.

    • This reply was modified 4 years, 1 month ago by IJMacD.

    @ijmacd

    Thanks for the feedback.

    Thread Starter mcmimik

    (@mcmimik)

    @ijmacd Thank you very much! Now it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Class ‘WPSMTP\Admin’ not found’ is closed to new replies.