• Resolved Austin Ginder

    (@austinginder)


    After upgrading to WordPress 5.5 my website crashed. The error log gets cut short and only says “PHP message: PHP Fatal error: Uncaught Error: Only variables can be passed by reference in” but never list the affected file. Over SSH when I try any run any WP-CLI commands I see the following PHP fatal error. Deactivating “flexmls-idx” restores my website. Looks like maybe a coding incompatible.

    PHP Fatal error:  Uncaught Error: Call to a member function GetStandardField() on null in /public/wp-content/plugins/flexmls-idx/components/search.php:844
    Stack trace:
    #0 /public/wp-content/plugins/flexmls-idx/components/search.php(869): fmcSearch->admin_view_vars()
    #1 /public/wp-content/plugins/flexmls-idx/integration/wpbakery/components/VCE_component.php(27): fmcSearch->integration_view_vars()
    #2 /public/wp-includes/class-wp-hook.php(287): VCE_component->integrateWithVC('')
    #3 /public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /public/wp-settings.php(546): do_action('init')
    #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require('/www/...')
    #7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runn in /public/wp-content/plugins/flexmls-idx/components/search.php on line 844
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @austinginder I apologize for the delay on this.

    Was the plugin activated and have a key applied to it? I’m trying to produce this on my testing site so I can pass more information over to the plugin developer.

    If you would be able to send a list of your active plugins and which versions of PHP and WordPress that are being used, we’d greatly appreciate it. It may be best for you to send it to me: mattf at flexmls dot com

    Thank you!

    Thread Starter Austin Ginder

    (@austinginder)

    I did some troubleshooting on the staging site. I’m thinking it’s a conflict with my theme WpResidence v3.3.2 and WPBakery Page Builder v6.3.0. I tried FlexMLS IDX on v3.10.3, still getting PHP errors as shown below. Downgrading FlexMLS IDX to v3.9.1 seems to resolve.

    An error of type E_ERROR was caused in line 317 of the file /wp-content/plugins/flexmls-idx/components/search-results.php. Error message: Uncaught Error: Only variables can be passed by reference in /wp-content/plugins/flexmls-idx/components/search-results.php:317
    Stack trace:
    #0 /wp-content/plugins/flexmls-idx/integration/wpbakery/components/VCE_component.php(27): fmcSearchResults->integration_view_vars()
    #1 /wp-includes/class-wp-hook.php(287): VCE_component->integrateWithVC('')
    #2 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /wp-settings.php(546): do_action('init')
    #5 /wp-config.php(39): require_once('/...')
    #6 /wp-load.php(37): require_once('/...')
    #7 /wp-admin/admin.php(34): require_once('/...')

    Thank you very much for the info @austinginder

    Would you be able to email me the plugin key you’re using? I’d like to try a few things on my WP testing site. My email is mattf at flexmls dot com

    Thank you!

    Thread Starter Austin Ginder

    (@austinginder)

    Will do. Thanks!

    Update:
    It appears that the subscriber’s account was disabled. Our plugin developer has fixed the possibility of the fatal error occurring in this kind of scenario.

    Thank you

    Thread Starter Austin Ginder

    (@austinginder)

    Thanks for the followup. I can confirm that I was able to update to v3.10.4 and it’s working!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal with WordPess 5.5’ is closed to new replies.