• Resolved jondaley

    (@jondaley)


    I’m not sure where the problem is. I have a dev site where the plugin works fine. I have done a diff -r on
    the-events-calendar
    the-events-calendar-community-events
    the-events-calendar-filterbar
    events-calendar-pro

    and there aren’t any differences.

    Both sites are on the same server, and all plugins are up-to-date as of today.

    I’m hitting an “File does not exist” from the wordpress imagemagick wp-includes file when I add an image to an event from the front end. It works fine on the back end.

    Any ideas about where I should be looking. Both sites run on the same server, and have the same nginx and php-fpm settings, so I don’t know why they would act differently. The live site (that isn’t working) goes through cloudflare, and has a total-cache installed, etc.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @jondaley ,

    Thank you for reaching out, and sorry to learn of the difficulties.

    In researching the error you described, I found the below post, which might help and looks like a disabled PHP library.

    How to Fix Missing Imagick Module on WordPress

    Please feel free to let me know how you go or if you have further questions/concerns.

    Thread Starter jondaley

    (@jondaley)

    Thank you for your reply, but that isn’t it. Site health only reports about removing inactive plugins.

    Thread Starter jondaley

    (@jondaley)

    I’ve added some debugging statements to wp-image-editor-imagick->load(), and it is called twice, once with a proper image, and then a second time with an invalid file.

    Thread Starter jondaley

    (@jondaley)

    In Submission_Handler.php: media_handle_upload() eventually calls wp_get_image_editor() and then wp_get_image_editor() is called on line 325 as well. I haven’t dug into your code enough to know if this all seems reasonable or not.

    Do you expect load() to get called twice?

    Plugin Support Abz

    (@abzlevelup)

    Hi @jondaley, I am not entirely sure what’s happening here. I would need more information.

    I’ve added some debugging statements to wp-image-editor-imagick->load(), and it is called twice, once with a proper image, and then a second time with an invalid file.

    Could you share the file name where it is called? I am also curious.

    —–

    Also, could you clear Cloudflare and TotalCache, and see if that makes a difference? It could also be Caching that’s calling it twice.

    Let me know how it goes.

    Best,
    Abz

    Thread Starter jondaley

    (@jondaley)

    I included the filename and function calls in a previous comment.

    I don’t think caching can be the problem, unless there is a javascript file that is being included without a version number appended to it, but I use a cache-busting plugin to append ?adsasdlkajsdljd to every static file, so even if you don’t include cache busting code on your side, it should do it on its own, and I’m modifying the php files and seeing the updates immediately, so nothing in PHP is being cached incorrectly.

    Plugin Support Abz

    (@abzlevelup)

    Hi @jondaley, This looks like a bug in our plugin where Events don’t show on the Frontend, causing 404s on Single pages and not showing on the Calendar. We already created an internal bug ticket for this, and I added your case. Thanks for all the details. I will definitely pass it along to our devs.

    I am unable to provide an exact date or time estimate for when this bug will be fixed, but you’ll be notified when there are any updates.

    For now, we’d recommend rolling back to the 6.0.2 version of the plugin. See the article here: Accessing and Installing Older Plugin Versions.

    Since you have an active license and for us to help you better, please open a Support Ticket on our Help Desk. Also, for us to follow WordPress Forum Guidelines regarding premium users.

    Again, thank you for your patience. Hang in there.

    Best,
    Abz
    ________________________

    Internal Bug Ticket Reference:
    TEC-4578

    Thread Starter jondaley

    (@jondaley)

    Great, thank you!

    Plugin Support Abz

    (@abzlevelup)

    Hi @jondaley, I’d be keeping this thread open. Rest assured that I’d be notifying you whenever there are updates regarding the bug ticket.

    Hang in there,
    Abz

    Thread Starter jondaley

    (@jondaley)

    I got my customer’s login to your site. I can see the download for 6.0.2 for both plugins – do I want both, or just one? Also, it sounds like you opened a ticket on your side, or should I open one there too?

    Thread Starter jondaley

    (@jondaley)

    Not getting a reply, I downgraded both. I can confirm downgrading to 6.0.2 for both the free and pro plugin does *not* fix the problem.

    Plugin Support Darian

    (@d0153)

    Hi @jondaley,

    Thanks for your response.

    Could you try re-saving the event that has the issue and check if that makes a difference?

    If that doesn’t help, please try downgrading to Events Calendar Pro 6.0.1 and The Events Calendar 6.0.1.1.

    Thread Starter jondaley

    (@jondaley)

    When re-saving, if you mean re-uploading an image from the wp-admin page, yes, that works fine. If you mean just going to the event and re-uploading the image, yes, that works fine.

    I downgraded to 6.0.1 and 6.0.1.1 and see the same thing.

    Plugin Support Abz

    (@abzlevelup)

    Hi @jondaley, yikes, that’s not good. We want to take a closer look. Sorry to hear about this.

    Please create a ticket on our helpdesk, and we’ll get to you as soon as possible.

    Also, this is for us to follow the WordPress Community Guidelines regarding Premium Users.

    Hang in there,
    Abz

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi there,

    We just released The Events Calendar 6.0.6.1 which includes new code to help fix and diagnose 404 errors. There were various causes for these 404s so this fix may not solve the issue for every customer, but it will make it easier for us to troubleshoot remaining problems.

    Please go to your WordPress admin and update to the latest version of The Events Calendar. If you have Events Calendar Pro, you’ll also want to update to the newest (6.0.5.1).

    Next, you’ll need to trigger a save on each event that is 404ing. To do this, open the event and change the start date or start time, and hit Update. Then change the date or time back (so that it’s correct again), and save. This sequence will prompt the system to generate the data necessary to correct the 404. If it’s a recurring event, be sure to choose the All events option for each save.

    We believe that updating to the new versions and re-saving events will fix the 404 issue for most customers. If you are still seeing the problem, please reply here and let us know.

    As always, we appreciate your patience. Please let us know if you have any other questions.

    Best,
    Leah

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘File does not exist when creating new event from frontend’ is closed to new replies.