• Resolved sonfisher

    (@sonfisher)


    After configuring a client’s site (WP v4.2.3) using iThemes Security (v 4.8.0) I later enabled Away Mode which promptly logged me out and would not allow me back in.

    I went online and found a way to disable Away Mode by the deletion of a file. But I will not be using this function as there is a time mis-match in the system. I took the attached screen shots only a few seconds from each other.

    The first is of the Settings > General Timezone and the second is from iThemes Security > Settings Away mode. As you can see they are about 17 hours apart, making ‘Away Mode’ unusable.

    WordPress:
    Version 4.2.3 and 4.2.4

    Events Made Easy
    Manage and display events. Includes recurring events; locations; widgets; Google maps; RSVP; ICAL and RSS feeds; Paypal, 2Checkout and others.
    Version 1.5.41 By Franky Van Liedekerke

    iThemes Security
    Protect your WordPress site by hiding vital areas of your site, protecting access to important files, preventing brute-force login attempts, detecting attack attempts and more.
    Version 4.9.0 By iThemes.com

    Other currently installed plugins:
    Akismet v3.1.3
    Contact Form 7 v4.2.2
    Editorial Assistant by Zemanta v1.3
    Events Made Easy v1.5.41
    Google Analytics by Yoast v5.4.4
    iThemes Security v4.9.0
    iThemes Sync v1.7.9
    Jetpack by WordPress.com v3.6.1
    MailChimp for WordPress Lite v2.3.7
    Orbisius Media Property Editor v1.0.0
    Permalink Finder v2.3
    Really Simple CAPTCHA v1.8.0.1
    Revive Old Post (Former Tweet Old Post) v7.0.6
    Simple Image Sizes v3.0.8
    Social Media Feather v1.7.8
    Sucuri Security – Auditing, Malware Scanner and Hardening v1.7.13
    TinyMCE Advanced v4.1.9
    Twitter v1.1.0
    UpdraftPlus – Backup/Restore v1.10.3
    Yoast SEO v2.3.2
    ZenCache v150718

    https://www.ads-software.com/plugins/events-made-easy/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Franky

    (@liedekef)

    I don’t see any screenshots, so would you mind explaining why you think eme is the cause of the conflict?

    Thread Starter sonfisher

    (@sonfisher)

    Plugin Author Franky

    (@liedekef)

    I haven’t tested it yet completely, but I’ve removed the code where I set the timezone globally (while wordpress should do it, instead of hardcoding it to UTC and then relying on that …) and now use DateTime instances with defined timezone settings. This is all I can do for this problem, but should help.
    For the fix (which is rather big), I recommend to test the latest dev-version:
    https://downloads.www.ads-software.com/plugin/events-made-easy.zip

    Thread Starter sonfisher

    (@sonfisher)

    I tested your ‘patch’. I backed up the current plugin directory. Deleted it and copied your new set of files in it’s place.

    Attempts to view any events give an eror:
    Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Could not dynamically handle method call [modifyDays]' in /home/azsocial/public_html/wp-content/plugins/events-made-easy/ExpressiveDate.php:1292
    Stack trace:
    #0 /home/azsocial/public_html/wp-content/plugins/events-made-easy/eme_rsvp.php(140): ExpressiveDate->__call('modifyDays', Array)
    #1 /home/azsocial/public_html/wp-content/plugins/events-made-easy/eme_rsvp.php(140): ExpressiveDate->modifyDays('0')
    #2 /home/azsocial/public_html/wp-content/plugins/events-made-easy/events-manager.php(1363): eme_add_booking_form('13', 1)
    #3 /home/azsocial/public_html/wp-content/plugins/events-made-easy/eme_events.php(1335): eme_replace_placeholders('<p style="font-...', Array)
    #4 /home/azsocial/public_html/wp-content/plugins/events-made-easy/eme_events.php(677): eme_display_single_event(13)
    #5 /home/azsocial/public_html/wp-content/plugins/events-made-easy/eme_events.php(766): eme_events_page_content()
    #6 [internal function]: eme_filter_events_page('')
    #7 /home/azsocia in /home/azsocial/public_html/wp-content/plugins/events-made-easy/ExpressiveDate.php on line 1292

    I think for now I’ll just leave the Away Mode disabled.

    Plugin Author Franky

    (@liedekef)

    Well, thanks for testing already.
    I use newer php functionality, which allows to do stuff like:
    $eme_date_obj_now->copy()->modifyDays($event[‘rsvp_number_days’])->modifyHours($event[‘rsvp_number_hours’]
    (chaining of method calls)
    But it seems your version does not support this, which php version are you using?

    Edit: there’s indeed something wrong with my code, give me a minute ??

    Plugin Author Franky

    (@liedekef)

    I now updated ExpressiveDate.php, if you want to try again …

    Hi Franky,

    I still have the same “Uncaught exception ‘InvalidArgumentException'”-Problem like sonfisher
    in …&plugins/events-made-easy/ExpressiveDate.php on line 156
    using php 5.6 and EME 1.5.49
    There is a blank screen, when I click “Create Event” in the backend

    Thank you, EME is great!

    Plugin Author Franky

    (@liedekef)

    Sonfisher had a totally different problem. In your case, it seems your timezone is not supported at all. What is the wordpress setting you use there? Sometimes I believe wordpress should be a little bit more straightforward here …

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin Conflict…’ is closed to new replies.