motors-car-dealership-classified-listings by stylemix

motors-car-dealership-classified-listings by stylemix

andrew_bassem

New Member

Joined
16/7/26
Messages
1
Dears i have issues with this themes for updates their plugins

When updating "STM Motors Extends" from v2.5.9 to v2.6.5 through the Motors theme's built-in plugin updater, the update fails with a 500 error. The actual cause (confirmed via debug logging) is a PHP fatal error: strpos(): Argument #1 ($haystack) must be of type string, WP_Error given, thrown from other plugins' upgrader_pre_download hooks (e.g. WooCommerce's Helper updater, Nextend Social Login's updater) because the package value being passed through isn't a valid string.

Tracing the stack trace back, this appears to originate in wp-content/themes/motors/admin/classes/stm-tgm-plugins.php, in the update_plugin() function — it calls $plugin_upgrader->upgrade( $filePath ) without passing the $source parameter (the actual download URL), which seems to result in a broken package value being passed into WordPress's upgrade process.

Could you send me a direct download link/zip for STM Motors Extends v2.6.5, or advise a fix for this update mechanism?

WordPress: 7.0.1 | Motors theme: 5.6.93 | PHP: 8.2.31
 

Attachments

  • car dealership.webp
    car dealership.webp
    27.4 KB · Views: 0
Similar content Most view View more
Back
Top Bottom