• Resolved GregF

    (@gregf)


    I am getting the following warning in /wp-admin/error_log:

    [22-Dec-2023 18:02:13 UTC] PHP Warning:  Undefined property: WpOrg\Requests\Exception\Transport\Curl::$status_code in /var/www/vhosts/2iadvisors.com/integral-wealth.com/wp-content/plugins/litespeed-cache/src/img-optm.cls.php on line 1033

    It’s making the log grow very fast. Any help would be appreciated. Running PHP 8.1.26.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Hai Zheng?

    (@hailite)

    This warning is fixed in v6.1-a3. The v6.1 dev is merged to dev branch now. So you can use Beta Test -> dev to try it.

    Thread Starter GregF

    (@gregf)

    I will wait until this version is released. How long do you think that will be?

    Plugin Support qtwrk

    (@qtwrk)

    it’s in beta version already , if you don’t want to use beta , as a temp solution , you can add

    php_value error_reporting 22519 

    to your .htaccess, this will disable other PHP error log but only keep the fatal error

    Plugin Support Hai Zheng?

    (@hailite)

    The patch will be in v6.1 and get released in next two weeks.

    Plugin Support Hai Zheng?

    (@hailite)

    You can use the latest dev version to tmp fix this issue for your site.

    Plugin Support Hai Zheng?

    (@hailite)

    Update: the release may be delayed to Feb due to dev & test schedule.

    Thread Starter GregF

    (@gregf)

    Where can I find the 6.1 beta?

    sf23103

    (@sf23103)

    if you go into your plugin settings, you can actually choose the version to utilize.

    Thread Starter GregF

    (@gregf)

    Thanks for pointing that out, I didn’t know it existed. However, changing to the dev version didn’t prevent the error from being recorded in the log.

    Hello did you resolve this problem? From 11.02.2024 to today they made almost 3GB of Warnings. I’m using the 6.1 version of the plugin.

    [12-Feb-2024 08:43:03 UTC] PHP Warning: Undefined property: WpOrg\Requests\Exception\Transport\Curl::$success in /abspath/mysite.com/wp-content/plugins/litespeed-cache/src/img-optm.cls.php on line 1023
    [12-Feb-2024 08:43:03 UTC] PHP Warning: Undefined property: WpOrg\Requests\Exception\Transport\Curl::$status_code in /abspath/mysite.com/wp-content/plugins/litespeed-cache/src/img-optm.cls.php on line 1024

    @hailite updated to version 6.2-b3 and it fixed.

    Note that, this seems to be related with Cron jobs, after updating I had to manually stop the php script which was running the cron job, then the log stopped increasing.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘PHP warning filling up error_log’ is closed to new replies.