[Hustle] Hustle causing http error 500 when publishing a pop-up and site running on WordPress 4.9.

I tried to install Hustle on my website and when I published the first pop-up I could no longer access the site. The browser displayed an http 500 error. The site is using WordPress 4.9.9 running Responsive Pro theme. I was unable to find anything in the error logs on the server to indicate what was causing the error. Removing Hustle from the site repaired the issue.
I successfully installed and published a pop-up on another website running WordPress 5.4.2 and it worked great. At this time we would prefer to not update the problem site (mygrandmatime.com) to a current version of WordPress. Is it possible to use Hustle with WordPress 4.9.9?

  • Dimitris Kalliris
    • Support Team Lead

    Hey there Shirley

    We are always providing compatibility for the latest WP releases and it’s always advisable to upgrade your WP as well.

    The error that you were reproducing is this one:
    ( ! ) Fatal error: Uncaught Error: Call to undefined function has_blocks() in wp-content\plugins\hustle\inc\providers\gutenberg\gutenberg.php on line 53
    and it’s happening cause in v.4.9.x the Gutenberg editor is missing.

    I’m afraid that there’s no easy way to make Hustle work in v.4.9.x and we don’t provide backward compatibility in general, especially if it goes that much back in time. Is Gutenberg the only reason that you don’t want to update that installation? Cause there’s also the Classic Editor plugin that can bring the old tinyMCE back. Also, keep in mind that you should update for all the security fixes that are included since then, in a number of ~32 updates since v.5.0.0.
    https://wordpress.org/download/releases/

    Warm regards,
    Dimitris