WordPress.org

Ready to get started?Download WordPress

Forums

Events Made Easy
[resolved] Event Plugin Error when using SuperCache in Dashboard (10 posts)

  1. carlitocenteno
    Member
    Posted 1 year ago #

    When I go to the Contents tab under SuperCache, I get the following error about Events Made Easy Plugin:

    Warning: Invalid argument supplied for foreach() in /events-made-easy/eme_settings.php on line 186

    http://wordpress.org/extend/plugins/events-made-easy/

  2. vvvv
    Member
    Posted 1 year ago #

    I too am getting this error on the popup box in the plugin page when viewing a plugin's changelog details.

  3. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, I found the reason for this. The solution is simple (and it's not an error, so you can ignore this for now), but will need to wait until this evening :-)

  4. Andreas Beer
    Member
    Posted 1 year ago #

    I'm getting the same line when trying to upload an image.

    Since Update of SME my media upload is blocked

    Warning: Invalid argument supplied for foreach() in /www/htdocs/**********/wp-content/plugins/events-made-easy/eme_settings.php on line 186>

  5. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    That should not happen. It might be that some json call fails of course because php inserts this warning ...
    The correct way for production servers is to disable online display of php errors (it is a first vector for attacks: they already know the path on your system if they get such errors).
    So first of all: change your php.ini for that.

    Second, a quick fix:
    add in eme_settings.php, at the beginning of the function eme_options_register (line 144), this:

    $options = array ();

    That should help already.

  6. Andreas Beer
    Member
    Posted 1 year ago #

    That does help

  7. Franky
    Member
    Plugin Author

    Posted 1 year ago #

  8. angetrue
    Member
    Posted 1 year ago #

    I'm getting similar issues since updating the plugin the last time.

    Will you be publishing an update to the plugin to fix this issue?

  9. Franky
    Member
    Plugin Author

    Posted 1 year ago #

    Did you try the fix I mentioned above?
    Or else, if you want to try the current devel version: http://downloads.wordpress.org/plugin/events-made-easy.zip

    I was going to release it yesterday evening but it was just too late, so it will happen this evening.

  10. carlitocenteno
    Member
    Posted 1 year ago #

    Thanks, Franky! Everything's working great.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic