mailpoet cron exception
-
Hello
using this for linux cron
php /var/www/wordpress_ecopol/wp-content/plugins/mailpoet/mailpoet-cron.php /var/www/wordpress_ecopol/
I get a PHP exception
PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/wordpress_ecopol/wp-includes/wp-db.php:1788 Stack trace: #0 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(97): wpdb->db_connect() #1 /var/www/wordpress_ecopol/wp-includes/wp-db.php(724): W3TC\DbCache_WpdbNew->db_connect() #2 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(218): wpdb->__construct() #3 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection.php(38): W3TC\DbCache_WpdbNew->default_initialize() #4 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(104): W3TC\DbCache_WpdbInjection->initialize() #5 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(359): W3TC\DbCache_WpdbNew->initialize() #6 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(232): W3TC\_CallUnderlying->initialize() #7 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(104): W3TC\DbCache_WpdbInjection_QueryCaching->initialize() #8 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(53): W3TC\DbCache_WpdbNew->initialize() #9 /var/www/wordpress_ecopol/wp-content/db.php(41): W3TC\DbCache_Wpdb::instance() #10 /var/www/wordpress_ecopol/wp-includes/load.php(549): require_once('...') #11 /var/www/wordpress_ecopol/wp-settings.php(124): require_wp_db() #12 /var/www/wordpress_ecopol/wp-config.php(110): require_once('...') #13 /var/www/wordpress_ecopol/wp-load.php(50): require_once('...') #14 /var/www/wordpress_ecopol/wp-content/plugins/mailpoet/mailpoet-cron.php(28): require_once('...') #15 {main} thrown in /var/www/wordpress_ecopol/wp-includes/wp-db.php on line 1788 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/wordpress_ecopol/wp-includes/wp-db.php:1788 Stack trace: #0 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(97): wpdb->db_connect() #1 /var/www/wordpress_ecopol/wp-includes/wp-db.php(724): W3TC\DbCache_WpdbNew->db_connect() #2 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(218): wpdb->__construct() #3 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection.php(38): W3TC\DbCache_WpdbNew->default_initialize() #4 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(104): W3TC\DbCache_WpdbInjection->initialize() #5 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(359): W3TC\DbCache_WpdbNew->initialize() #6 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(232): W3TC\_CallUnderlying->initialize() #7 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(104): W3TC\DbCache_WpdbInjection_QueryCaching->initialize() #8 /var/www/wordpress_ecopol/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(53): W3TC\DbCache_WpdbNew->initialize() #9 /var/www/wordpress_ecopol/wp-content/db.php(41): W3TC\DbCache_Wpdb::instance() #10 /var/www/wordpress_ecopol/wp-includes/load.php(549): require_once('...') #11 /var/www/wordpress_ecopol/wp-settings.php(124): require_wp_db() #12 /var/www/wordpress_ecopol/wp-config.php(110): require_once('...') #13 /var/www/wordpress_ecopol/wp-load.php(50): require_once('...') #14 /var/www/wordpress_ecopol/wp-content/plugins/mailpoet/mailpoet-cron.php(28): require_once('...') #15 {main} thrown in /var/www/wordpress_ecopol/wp-includes/wp-db.php on line 1788Thanks for help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘mailpoet cron exception’ is closed to new replies.