• Resolved kimp85

    (@kimp85)


    I’m having trouble with EME after updating to WordPress 5.5 and running PHP 7.4.

    When members are trying to join an event an unknown error is thrown and page just reloads.

    I have tried:
    – Downgrading PHP.
    – Disabling all other plugins.
    – Using the standard twenty twenty theme.

    There’s no cashing for this site, so I ruled that out too.

    I tried looking for error log, but I can’t find one…

    Any suggestions what to do next?

    The page I need help with: [log in to see the link]

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

    (@liedekef)

    Your site doesn’t allow me to see anything, so I can’t see the problem. Are the people joining EME members or WordPress members. Any kind of restriction on the RSVP form? Maybe some screenshots and/or a video to show the problem?

    Thread Starter kimp85

    (@kimp85)

    Hi Franky,

    Thank you for having the time the answer

    I had to put the page in maintenance so the sites users wouldn’t be writing constantly about not being being able to book yoga classes.

    The site is using Ultimate Member plugin, so EME is using the WordPress users.
    I tried disabling everything except EME – same results with and without all the extra external plugins activated.

    Links to video:
    With twenty twenty theme: https://www.loom.com/share/67292429efb14053afb81a49bbbfe0fa
    With custom theme: https://www.loom.com/share/dcedaf39376445558aeb6720d6b62763

    Link to RSVP setting screenshot:
    https://www.dropbox.com/sh/t631bgt90qf2h6i/AABjTekDuB_MRgn_wwsnHxBOa?dl=0

    Again thank you for having a look at it, please let me know if I can supply with any more material to solve this!

    BR
    Kim

    Plugin Author Franky

    (@liedekef)

    I don’t see an unknown error here, just the page that reloads. Which means that there’s a javascript error on the page, preventing the ajax form submit.
    In your browser console the javascript error should be visible. I’ll check on my sites too

    Thread Starter kimp85

    (@kimp85)

    You’re right there is a an error.
    Awesome, rookie mistake not having the developer tool open – sorry!

    When using twenty twenty theme I get an error upon submit:
    VM62024:1 POST https://underground-yoga.dk/wp-admin/admin-ajax.php 500

    When using the custom theme I get an error in the custom.js:
    custom.js?ver=5.5:1 Uncaught TypeError: $ is not a function
    I looked at it, and it looks correct. And I get an error in theme.js:
    Uncaught TypeError: jQuery(…).live is not a function
    at HTMLDocument.<anonymous> (theme.js?ver=5.5:24)

    I disabled the maintenance briefly, if you wanna have a look at the page.

    I am not able to determine if the error is EME related or not :/

    Again huge help Franky – thank you!

    Plugin Author Franky

    (@liedekef)

    Wordpress updated its jquery, and .live is no longer supported. This error is even visible on your main page. You should adapt your theme.js file.

    Thread Starter kimp85

    (@kimp85)

    Done, that was pretty easy to solve, but now I get:

    VM71083:1 POST https://underground-yoga.dk/wp-admin/admin-ajax.php 500
    (anonymous) @ VM71083:1
    send @ jquery.js?ver=1.12.4-wp:formatted:4206
    ajax @ jquery.js?ver=1.12.4-wp:formatted:3990
    eme_add_booking_json @ eme.js?ver=2.1.88:284
    (anonymous) @ eme.js?ver=2.1.88:497
    dispatch @ jquery.js?ver=1.12.4-wp:formatted:2105
    r.handle @ jquery.js?ver=1.12.4-wp:formatted:1985

    I tried googling for solution about this, but comes up with no useable solutions from stackoverflow and etc.

    Plugin Author Franky

    (@liedekef)

    That points to an issue in the backend. 500 is internal server error, meaning somewhere in your webserver or php logfiles the error should get logged too.
    See this thread: https://wordpress.org/support/topic/admin-ajax-php-loading-error-500-internal-server-error/

    Edit: also check if no security plugin is blocking your access to admin-ajax.php. Despite the name of that php file (and its location), it is also used in the frontend of wordpress to handle ajax requests, so it can’t be blocked by some tool otherwise those ajax requests won’t work anymore.

    • This reply was modified 3 years, 8 months ago by Franky.
    Thread Starter kimp85

    (@kimp85)

    Hey Franky,

    First of all thank you for good support (and patience)! I learned a lot of new things.

    I isolated the problem to PHP-mailer, and then I get notified that you had made the update to EME because of the same error, I updated and now everything is working!

    Thank you and have a great weekend!

    BR

    Kim

    Hi @kimp85
    Could you please help me in this phpmailer issue regarding what did you do? I am also getting 500 internal server error in admin-ajax.php because of PHPMailer.

    I have a “send validation emails to user” button. Upon pressing this button it is giving 500 internal server error in admin-ajax.php. and the buton remains disabled unless the page is refreshed.

    Thank you in advance

    Plugin Author Franky

    (@liedekef)

    If this is related to eme: just update to the latest version.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Unknown error after updating WP 5.5’ is closed to new replies.