Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter eldadnl

    (@eldadnl)

    Thank your for this advise. I’ve commented these lines and now it seems to work fine again.

    Thread Starter eldadnl

    (@eldadnl)

    Hi,

    The provider is Goedkope Webhosting – Snelle & Betrouwbare Hosting | Neostrada (probably they host is on TransIP.nl)

    Here our wp-config.php file (of course without the passwords…) at he end there is some additional configuration linked to mail…

    <?php
    define(‘WP_CACHE’, true); // WP-Optimize Cache
    /** Enable W3 Total Cache Edge Mode / define(‘W3TC_EDGE_MODE’, true); // Added by W3 Total Cache define(‘WP_MEMORY_LIMIT’, ‘256M’); /*

    • The base configurations of the WordPress.
      *
    • This file has the following configurations: MySQL settings, Table Prefix,
    • Secret Keys, and ABSPATH. You can find more information by visiting
    • {@link http://codex.ww.wp.xz.cn/Editing_wp-config.php Editing wp-config.php}
    • Codex page. You can get the MySQL settings from your web host.
      *
    • This file is used by the wp-config.php creation script during the
    • installation. You don’t have to use the web site, you can just copy this file
    • to “wp-config.php” and fill in the values.
    • svds
    • @package WordPress
      */
      // ** MySQL settings – You can get this info from your web host ** //
      /** The name of the database for WordPress / define(‘DB_NAME’, ‘our database’); /* MySQL database username / define(‘DB_USER’, ‘our username’); /* MySQL database password / define(‘DB_PASSWORD’, ‘our password’); /* MySQL hostname / define(‘DB_HOST’, ‘localhost’); /* Database Charset to use in creating database tables. / define(‘DB_CHARSET’, ‘utf8’); /* The Database Collate type. Don’t change this if in doubt. / define(‘DB_COLLATE’, ”); /*#@+
    • Authentication Unique Keys and Salts.
      *
    • Change these to different unique phrases!
    • You can generate these using the {@link https://api.ww.wp.xz.cn/secret-key/1.1/salt/ ww.wp.xz.cn secret-key service}
    • You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
      *
    • @since 2.6.0
      / define(‘AUTH_KEY’, ‘our key’); define(‘SECURE_AUTH_KEY’, ‘our key’); define(‘LOGGED_IN_KEY’, ‘our key’); define(‘NONCE_KEY’, ‘our key’); define(‘AUTH_SALT’, ‘our key’); define(‘SECURE_AUTH_SALT’, ‘our key’); define(‘LOGGED_IN_SALT’, ‘our key’); define(‘NONCE_SALT’, ‘our key’); /#@-/
      /
    • WordPress Database Table prefix.
      *
    • You can have multiple installations in one database if you give each a unique
    • prefix. Only numbers, letters, and underscores please!
      / $table_prefix = ‘wp_’; /*
    • For developers: WordPress debugging mode.
      *
    • Change this to true to enable the display of notices during development.
    • It is strongly recommended that plugin and theme developers use WP_DEBUG
    • in their development environments.
      / define(‘WP_DEBUG’, false); /*
    • These settings were added by TransIP for your ease
      / define(‘FTP_USER’, ‘eldadproductions.nl’); define(‘FTP_HOST’, ‘ftp.eldadproductions.nl’); define(‘FTP_SSL’, false); define(‘WP_SITEURL’, ‘https://&#8217; . $_SERVER[‘HTTP_HOST’]); define(‘WP_HOME’, ‘https://&#8217; . $_SERVER[‘HTTP_HOST’]); / That’s all, stop editing! Happy blogging. / /* Absolute path to the WordPress directory. / if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(FILE) . ‘/’); /* Sets up WordPress vars and included files. / require_once(ABSPATH . ‘wp-settings.php’); /* TransIP fix: sendmail does not support flags. This fix is needed in order to make mailing work. */
      global $phpmailer;
      if ((!is_object( $phpmailer ) || !is_a( $phpmailer, ‘PHPMailer’ )) &&
      file_exists(ABSPATH . ‘/wp-includes/class-phpmailer.php’) &&
      file_exists(ABSPATH . ‘/wp-includes/class-smtp.php’)) {
      require_once ABSPATH . ‘/wp-includes/class-phpmailer.php’;
      require_once ABSPATH . ‘/wp-includes/class-smtp.php’;
      $phpmailer = new PHPMailer( true );
      }
      $phpmailer->UseSendmailOptions = false;
    Thread Starter eldadnl

    (@eldadnl)

    I’ve disabled all plugins except woocommerce and mollie (it’s a webshop, so I don’t want to disable these….)

    Still get error messages, although it seems to work. But the site has to be recovered everytime.

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 124 van het bestand /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/Providers/MailerAbstract.php. Foutmelding: Uncaught TypeError: EasyWPSMTP\Providers\MailerAbstract::__construct(): Argument #1 ($phpmailer) must be of type EasyWPSMTP\MailCatcherInterface, PHPMailer\PHPMailer\PHPMailer given, called in /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/Providers/Loader.php on line 176 and defined in /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/Providers/MailerAbstract.php:124 Stack trace: #0 /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/Providers/Loader.php(176): EasyWPSMTP\Providers\MailerAbstract->__construct() #1 /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/Providers/Loader.php(131): EasyWPSMTP\Providers\Loader->get_entity() #2 /home/eldadn1q/eldadproductions.nl/wp-content/plugins/easy-wp-smtp/src/SiteHealth.php(183): EasyWPSMTP\Providers\Loader->get_mailer() #3 /home/eldadn1q/eldadproductions.nl/wp-admin/includes/class-wp-site-health.php(194): EasyWPSMTP\SiteHealth->mailer_setup_complete_test() #4 /home/eldadn1q/eldadproductions.nl/wp-admin/includes/class-wp-site-health.php(145): WP_Site_Health->perform_test() #5 /home/eldadn1q/eldadproductions.nl/wp-includes/class-wp-hook.php(308): WP_Site_Health->enqueue_scripts() #6 /home/eldadn1q/eldadproductions.nl/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #7 /home/eldadn1q/eldadproductions.nl/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/eldadn1q/eldadproductions.nl/wp-admin/admin-header.php(118): do_action() #9 /home/eldadn1q/eldadproductions.nl/wp-admin/site-health.php(96): require_once('/home/eldadn1q/...') #10 {main} thrown

Viewing 3 replies - 1 through 3 (of 3 total)