Wpsolr Pro 21.2 update produced fatal error

  • moisb
    Participant
    # 9 months, 2 weeks ago

    Hello Patrice. I now upgraded to version 21.2 and generated a fatal error, knocking down the website. Log:

    2019/01/28 09:05:09 [error] 41809#41809: *2050584 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected end of file in /var/www/mywebsite.com/htdocs/wp-content/plugins/wpsolr-pro/wpsolr/pro/extensions/theme/layout/ion_range_slider/class-wpsolr-ui-layout-ion-range-slider.php on line 228”

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    Hello,

    What was your previous version?

    Also, please check this resolution: https://www.wpsolr.com/forums/topic/fatal-error-activating-plugin/

    moisb
    Participant
    # 9 months, 2 weeks ago

    Hi Patrice, I use PHP 7. My previous version is 21.1

    moisb
    Participant
    # 9 months, 2 weeks ago

    exactly PHP 7.1.13

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    Thanks. Did you install the test version download, or update the paid version?

    moisb
    Participant
    # 9 months, 2 weeks ago

    updated the paid version

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    This file was Selenium tested, and its content checked with PHP Compatibility Checker for PHP 5.6.5 and 7.2
    I also open it in without errors in phpstorm.

    Perhaps the file is corrupted.

    moisb
    Participant
    # 9 months, 2 weeks ago

    I also thought about corrupted file. I resubmitted via sftp, re-checked the permissions, but the same error always occurs. I returned back to version 21.1 🙁

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    What is your OS?

    moisb
    Participant
    # 9 months, 2 weeks ago

    Debian 8.9 x64

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    It appears it could be a short tag in the file (line 40). I will disable short tags during my automated tests to prevent this error ever happen again.

    moisb
    Participant
    # 9 months, 2 weeks ago

    Okay Patrice. You go release a “21.3” version with this fix?

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    Yes, indeed.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.