Support » Plugin: Jilt for Easy Digital Downloads » Fatal error in latest version – v1.3.0

  • Resolved Nikhil Chavan

    (@nikschavan)


    PHP Fatal error: Uncaught Error: Call to undefined function get_home_path() in /var/www/<website>/htdocs/wp-content/plugins/jilt-for-edd/includes/class-edd-jilt-logger.php:273

    Luckily this was only seen on the wp-admin and frontend of the store was not affected.

    I have reverted to the older version for now.

    Here is the stack trace of the error –

    [29-Mar-2018 04:53:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_home_path() in /var/www/<website>/htdocs/wp-content/plugins/jilt-for-edd/includes/class-edd-jilt-logger.php:273
    Stack trace:
    #0 /var/www/<website>/htdocs/wp-content/plugins/jilt-for-edd/includes/admin/class-edd-jilt-admin.php(172): EDD_Jilt_Logger->get_relative_log_file_path()
    #1 /var/www/<website>/htdocs/wp-includes/class-wp-hook.php(286): EDD_Jilt_Admin->register_settings(Array)
    #2 /var/www/<website>/htdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #3 /var/www/<website>/htdocs/wp-content/plugins/easy-digital-downloads/includes/admin/settings/register-settings.php(659): apply_filters('edd_settings_ex...', Array)
    #4 /var/www/<website>/htdocs/wp-content/plugins/stream/connectors/class-connector-edd.php(269): edd_get_registered_settings()
    #5 [internal function]: WP_Stream\Connector_EDD->check_edd_settings(Array, Array)
    #6 /var/www/store.brainstorm in /var/www/<website>/htdocs/wp-content/plugins/jilt-for-edd/includes/class-edd-jilt-logger.php on line 273
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Jilt

    (@jilt)

    Heya @nikschavan, thanks for the report here! This sounds like a site-specific issue or conflict to me given get_home_path() is a WP core method since version 1.5.0. I see WP_Stream in the stacktrace there — is it possible to deactivate that plugin to see if this problem persists? Given it’s right before the error in that stack trace, it sounds like it’s loading something potentially before WP declares that function.

    If you can submit site credentials to our contact page we’re happy to dig deeper as well 🙂

    Cheers,
    Beka

    Hey @jilt @nikschavan – confirming we had the same issue and it is indeed a conflict w/ Stream.

    @beka – given how popular/useful Stream is – would you be able to reach out to those nice folks and ask them to stop breaking Jilt?

    🙂

    Plugin Contributor Jilt

    (@jilt)

    Heya @createandcode, thanks for confirming!

    Tagging @xwp + @stream here: It looks like WP_Stream\Connector_EDD->check_edd_settings may be running too early given it’s loading EDD settings before get_home_path() is defined. Is it possible to adjust load order there @xwp + @stream?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error in latest version – v1.3.0’ is closed to new replies.