Support » Plugin: MailPoet Newsletters » Wysija Apache/php errors from hosting service WP Engine

  • Adrian Tawfik

    (@adriandemocracychroniclescom)


    My hosting service WP Engine is giving me the following Apache/php errors on my log. I contacted them and they told me to contact you directly and suggested that the errors were related to your recent update. What can I do to fix the errors?

    From Apache/php error log:

    [Wed Apr 24 09:03:16 2013] [error] [client 62.141.35.104] PHP Warning:  Invalid argument supplied for foreach() in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 466, referer: http://www.democracychronicles.com/wp-login.php?action=register, http://www.democracychronicles.com/wp-login.php?action=register
    [Wed Apr 24 09:03:16 2013] [error] [client 62.141.35.104] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query INSERT IGNORE INTO <code>wp_wysija_user_list</code> (<code>list_id</code>,<code>user_id</code>) VALUES  /* From
    [www.democracychronicles.com/wp-login.php?action=register] in [/nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/model.php:873] */ made by register_new_user, do_action('register_post'), call_user_func_array, WYSIJA_help_front->register_posted, WYSIJA_help_user->addSubscriber, WYSIJA_help_user->addToLists, WYSIJA_model->query, referer: http://www.democracychronicles.com/wp-login.php?action=register, http://www.democracychronicles.com/wp-login.php?action=register
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 772
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 773
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 774
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/model.php on line 703
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/models/user.php on line 219
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 505
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 507
    [Wed Apr 24 15:46:07 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 514
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 772
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 773
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/base.php on line 774
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/core/model.php on line 703
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/models/user.php on line 219
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 505
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 507
    [Wed Apr 24 15:47:55 2013] [error] [client 127.0.0.1] PHP Strict Standards:  Only variables should be assigned by reference in /nas/wp/www/cluster-1169/demchron/wp-content/plugins/wysija-newsletters/helpers/user.php on line 514

    http://wordpress.org/extend/plugins/wysija-newsletters/

Viewing 1 replies (of 1 total)
  • Hi Adrian,

    About the strict standards warnings, they will be fixed in the next releases, but they are just warnings when you use PHP 5.4, since from PHP 5.4 strict standards suggestions will be flagged as warnings.
    These warnings are not affecting your website at all.

    About the first two errors, we are investigating, did you see some errors in the WordPress panel too, or just in the logs?

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Wysija Apache/php errors from hosting service WP Engine’ is closed to new replies.