• Resolved itfarjaman

    (@itfarjaman)


    My WordPress is showing “Warning: Undefined property: stdClass::$slug in?/home/trendwhi/public_html/wp-content/plugins/tenweb-speed-optimizer/OptimizerAdmin.php?on line?118” error message and the admin PHP code is like this-

      public function two_add_two_plugin_to_autoupdate($update, $item) {
            $plugins = [ 'tenweb-speed-optimizer' ];
    
            if (in_array($item->slug, $plugins)) {
                // update plugin
                return true;
            }
    
            // use default settings
            return $update;
        }
    

    How to solve this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Hello @itfarjaman

    Thank you for reporting the problem!

    We are pleased to inform you that our team has successfully tracked down the root cause of the error message you are getting. Please rest assured, it will be addressed and fixed in the upcoming hotfix.

    We highly recommend staying tuned for the plugin updates or enabling automatic updates for it,

    Thank you for your patience and continued support.

    Thread Starter itfarjaman

    (@itfarjaman)

    Automatic update is on

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with update setting’ is closed to new replies.