• Resolved WaldenPondDesign

    (@waldenponddesign)


    I am having problems adding new user with the latest version of WP. I am running 1.8.1 of the SMTP plugin and PHP 7.3.12

    I have added the following to my wp-config.php file

    define( ‘WPMS_ON’, true );
    define( ‘WPMS_SMTP_PASS’, XXXXXXXXXX

    and it has been working great for the past year.

    However, now with the WP 5.3.1 I cannot add a new user. The error message is 500 “Internal Server Error”.

    If I disable the WP SMTP plugin I am able to add the user. So it appears there’s an issuer with the latest version of 5.3.1 as that’s the only difference.

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi @waldenponddesign

    Could you please take a look at error log on your server (or request the one from your hosting support) right after you’ve added a user?
    I’m sure there is something like “Fatal Error: class/function is already defined…”.
    But I need to know exactly what is conflicting.

    Thread Starter WaldenPondDesign

    (@waldenponddesign)

    Below is the error message. Note we are hiding the password in wp-config.php file. Contents are listed below. Note this is line 88 and 89 as mentioned in the second log entry

    define( ‘WPMS_ON’, true );
    define( ‘WPMS_SMTP_PASS’, “XXXXXXXXXXX” );

    [Mon Dec 16 16:41:59.667690 2019] [fcgid:warn] [pid 29791:tid 139898124220160] [client 98.217.169.20:57738] mod_fcgid: stderr: PHP Warning: Use of undefined constant WPRSS_VERSION – assumed ‘WPRSS_VERSION’ (this will throw an Error in a future version of PHP) in /var/www/vhosts/workforce180.com/httpdocs/wp-content/plugins/wp-rss-feed-to-postXXX/wp-rss-feed-to-post.php on line 108, referer: https://workforce180.com/wp-admin/user-new.php

    [Mon Dec 16 16:41:59.667726 2019] [fcgid:warn] [pid 29791:tid 139898124220160] [client 98.217.169.20:57738] mod_fcgid: stderr: PHP Warning: Use of undefined constant \xe2\x80\x98WPMS_ON\xe2\x80\x99 – assumed ‘\xe2\x80\x98WPMS_ON\xe2\x80\x99’ (this will throw an Error in a future version of PHP) in /var/www/vhosts/workforce180.com/httpdocs/wp-config.php on line 88, referer: https://workforce180.com/wp-admin/user-new.php

    Plugin Author Slava Abakumov

    (@slaffik)

    The issue seems to be because of the usage of incorrect quotes.

    Correct way:

    define( 'WPMS_ON', true );
    define( 'WPMS_SMTP_PASS', "XXXXXXXXXXX" );

    Note the quotes around all strings: ' instead of , and " instead of .

    Also, WPRSS_VERSION constant is defined incorrectly. Please contact that plugin support to make sure you define it correctly.

    Thread Starter WaldenPondDesign

    (@waldenponddesign)

    Slava,

    I fixed the initial quote, still having same problem.

    /* old setup */
    /*define( ‘WPMS_ON’, true ); */
    /*define( ‘WPMS_SMTP_PASS’, “XXXXXXXXXX” ); */

    define( ‘WPMS_ON’, true );
    define( ‘WPMS_SMTP_PASS’, “XXXXXXXXXX” );

    Thread Starter WaldenPondDesign

    (@waldenponddesign)

    I suspect it’s an issue with Plesk Obsidian 18.0, I migrated the site to an older server running Plesk Onyx 17.x and it ran correctly. I suspect you will have more issues as more people start using the latest version of Plesk. Let me know if you need more info from me.

    Hi @waldenponddesign,

    Thanks for the information. If you’re having issues with some version of Plesk, probably the issue is with all the constants set up in wp-config.php. We recommend constants to be defined in wp-config.php like other default WordPress constants. You might need to contact your hosting support about this or define constants in other locations such as in functions.php.

    I hope this helps!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internal Server Error when adding user’ is closed to new replies.