Are you able to update standard WP repo plugins? I am using that library and it seems to work well.
What’s the exact error that WordPress gives on the admin screen when it tries to run the update?
I would take a look at permissions first. What are the permissions on the old plugin directory? Any different than any of your other plugin directories?
I would also take a look at the format of the zip file you’re feeding it. What software did you use to create the zip? When you unzip it, what does the directory structure look like? It should unzip as a folder with the same name as the plugin you’re trying to replace. Did you set the slug attribute in the JSON file? Does that also match the folder name?
Hope this helps. I was able to get that library going pretty quickly.
Related Posts:
- Automatic updates in plugin – not hosted on wordpress repository
- WordPress updates defined vs add_filter?
- Is there any way to test if a function running only on plugin update is successfully running?
- Auto update specifick plugin
- How to update/auto-update my private plugin? [duplicate]
- Where can i find wordpress auto update code flows?
- flush rewrite rules after plugin update?
- wordpress automatic update does not run
- Custom theme and plugin updating
- pre_set_site_transient_update_plugins not updating
- Cannot update plugin
- Do plugin auto-updates also run for a lower version?
- How to enable auto update for embedded plugins
- What’s the difference between term_id and term_taxonomy_id
- How do I programatically insert a new menu item?
- When would I use either function for plugins?
- Test to see if jQuery or Prototype is queued by another plugin?
- How to tell if an option has been created vs an empty option?
- jQuery in header or footer
- Notice: _usort_terms_by_ID is deprecated since version 4.7.0! Use wp_list_sort instead
- How to add a new plugin page under desired Options page?
- Plugin screenshots not showing in the repository
- How to make WordPress use non-greedy shortcode parsing?
- Multiple Parameters for a Shortcode
- WP Cron doesn’t save or in post body
- Pages 404 in wordpress
- How to properly load text domain of custom mu plugin
- Post from front-end with post types, categories and taxonomies
- product-attribute-slug-is-too-long-28-characters-max
- Multiple entries in get_option results? or why is _multiwidget set to 1?
- Check if I am in the Admin Panel (wp-admin)?
- Fully automated theme install and activation via a plugin
- Using Ajax call in jQuery doesn’t work in widget
- Why is WP_Mock not used instead of WP_UnitTestCase for writing unit tests by most plugins?
- Confusion on WP Nonce usage in my Plugin
- Metabox Not Showing on Custom Post Type But On Pages and Post
- Using Checkboxes on Plugin Options Page for Custom Plugin
- Add media and attach images to pages
- Create a Page via plugin
- Generating User(s) with Settings API
- How to redirect to action on custom page within admin section
- Show comments fields in two columns
- Processing shortcodes in groups (separated by line breaks)?
- How to convert this cURL to wp_remote_get?
- Where should I put “run once” plugin pages?
- Initial help with official “create a block” tutorial
- Update/insert only a column of database table
- Can wp_list_comments output into variable?
- Plugin Development Output
- SMS registration and login [closed]
- Adding Second Plugin Author
- Securing/Escaping Output of file content – reading via fread() in PHP
- Run code once when block is created
- Intermittent database errors when accessing WordPress database
- How to create a “View” page for entry in add_menu_page wordpress admin area (CRUD operation)
- Customize WooCommerce my account dashboard through plugin
- Precaching WordPress posts with a ServiceWorker
- Shortcode returning localized HTML part
- How to set a cookie for logged in users to md5($user->ID . “my_secret”)?
- WordPress plugin enqueue scripts working for js, but not css files
- Meta box on options page save form problem
- my basic php code producing unexpected results
- Sending an SMS on new order placed – WooCommerce
- Where to use nonce
- Gutenberg – is it ok to load dependencies multiple times?
- How to show parents of current page category, excluding the category?
- get_plugins() is not give plugin list after performed delete_plugins()
- Best practice for Designing a Plugin with this scenario
- Overwriting a plugin function
- Referencing files in JavaScript in WordPress Plugin
- How do I debug an error that a plugin is causing?
- What could cause a WP Option to get truncated?
- Borrowing of Previously Translated Strings by Child Plugin
- Ajax on the Administration Side of plugin – returns 0
- Add custom product data using javascript when add to cart button is clicked
- Creating a WP plugin and having issues linking CSS stylesheet within functions
- How to enhance a self developed plugin by its own plugin architecture
- What happens/fires when you select a block in the editor?
- Determine if term is Category or Tag
- How to hide/remvoe unnecessary field/section in post edit section ( Dashboard )
- How to set a public variable in someone else’s plugin class
- Change Front page displays settings conditionally when user is online
- How to develop a wordpress plugin for front-end user?
- How to enqueue an external Javascript file to Frontpage footer
- Woocommerce Custom Checkout
- sql query not working in wp plugin
- get_users() not returning all users in site
- Simple Search Plugin Does Not Perform Search
- save_post not called in plugin / custom field still saving overwriting metaboxes
- Custom slug in url for CPT and taxonomy
- Need edit profile link in the menu for logged in users
- Create a Custom Login System in WordPress [closed]
- Safe XML response from wordpress plugin
- Problem with Owl Carousel, infinite loop [closed]
- Add an action only for a specific user in a plugin
- Translations not making it into Block UI but work in the rest of the plugin
- View Version Details” on Plugin update shows “Plugin not found
- How to run this plugin every time a post is saved?
- how to send csv file to other server using wp_remote_post?
- Resending woo-commerce order emails from frontend