Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [updates]

An update is a source code that is applied on top of the existing software or program with an aim to fix security vulnerabilities, bugs and improve usability.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Twenty Twenty One update changes dom classes and breaks my child theme

I built my first child theme and am paying the price of my ignorance. It basically breaks all the time. Every update to the main theme (Twenty Twenty One) seems to change some class name that my js ...
milpool's user avatar
  • 101
0 votes
0 answers
22 views

Plugins updates not showing on wordpress

I have a couple of WordPress websites that are giving me problems with plugin updates. When I check for updates, it appears that there are no updates available, but then when I check the plugins ...
Charlie's user avatar
  • 101
-1 votes
0 answers
51 views

Wordpress 6.5.2 Auto-Update of custom plugin using wrong path

We are developing a custom Wordpress plugin. There are 2 quite similar versions of the plugin: using only a boolean to change some behaviour (false in version A and true in version B). version A - ...
PythoNic's user avatar
1 vote
1 answer
83 views

Fatal error after update 6.5 - wp-includes/media.php:2134 svg inline sizes equal 0

In several sites (not all) after updating to wp 6.5, I have the following error: Fatal error: Uncaught DivisionByZeroError: Division by zero in web/wp-includes/media.php:2134 Stack trace: #0 web/wp-...
mica's user avatar
  • 125
1 vote
0 answers
23 views

Wordpress Plugin Update not working

I am facing an issue of update now button not showing up even if there is an update for a plugin. The following is the method that checks the updates for the plugin public function check_update( $...
ahmedwp's user avatar
  • 21
0 votes
0 answers
10 views

Editing a WordPress post content from the database does nothing

I had to restore a database from a dump due to technical issues. It works well, however my client edited a long post that wasn't written yet in the dump I used. I managed to retrieve this specific ...
Carrm's user avatar
  • 101
0 votes
0 answers
59 views

background updates are not working properly

Please, I need help to solve WordPress diagnostic issue: Background updates are not working properly Security Background updates ensure that WordPress can update itself if a security update is ...
Gisela's user avatar
  • 1
1 vote
0 answers
29 views

Custom updater to change plugin version

I have a custom plugin hosted on github, and had previously had a plugin updater class that would poll the repo for the 'latest' version. Now the plugin is on multiple sites, but we want the option to ...
ConBran's user avatar
  • 111
0 votes
1 answer
11 views

BuddyPress Edit activity function good practice

I am using a custom BuddyPress edit function. However, I was told this is a bad practice and that I should use WordPress's helper function. How to correctly do this? Here, is the code: add_action('...
Rohit kc's user avatar
0 votes
1 answer
33 views

Set limitations of wp_update_post()?

I use Polylang on my site I set this function wp_update_post() to update two-time fields for my all Post Language when I click to update and publish again defualt post. I'm trying to use the following ...
SS Apps's user avatar
0 votes
0 answers
74 views

"All plugins are updated" but they aren't

i'm using Wordpress since like....2013 or before, can't really remember. So, basically, my problem is that there is NO WAY (a part uploading those manually via FTP or via "Upload a new plugin&...
Salvo C's user avatar
0 votes
0 answers
65 views

What triggers WordPress automatic updates? (revisited)

I'm trying to ascertain what triggers WordPress automatic updates. (focusing core-updates for now, not plugin/theme at this time.) How To/What triggers a Wordpress auto update? The 8 year old question ...
mmrn's user avatar
  • 101
1 vote
0 answers
50 views

Update plugin from github

I'm working on a WordPress plugin hosted locally on GitHub, and it includes several addons. When updating a specific add-on, I want to ensure that the main plugin is of a particular version before ...
Saqib Ali's user avatar
0 votes
0 answers
87 views

Theme folder name changed after update theme

For my block theme I use a script from Misha (https://rudrastyh.com/wordpress/theme-updates-from-custom-server.html) to update my theme. Everything works fine, only I find out that the theme folder ...
webthesign's user avatar
0 votes
0 answers
22 views

wp_update_post function exclude specific field

I am using a function to update the default post and this function updates the language post publish date and some fields. it's working fine but the problem is that our meta_post field "_mydomain&...
SS Apps's user avatar
1 vote
1 answer
109 views

How prevent STDOUT of Plugin_Upgrader->upgrade(...)?

🖥️ Code function my_custom_endpoint(WP_REST_Request $request) { $plugin_file = $request->get_param("plugin_file"); if(!class_exists('Plugin_Upgrader')) { require_once ABSPATH ....
Adrien Villalonga's user avatar
0 votes
1 answer
695 views

PHP Warning: Constant WP_CONTENT_URL already defined

I am getting the following errors while upgrading WordPress using Composer. PHP Warning: Constant WP_CONTENT_DIR already defined in /var/www/html/my-website/wp-config.php on line 112 PHP Warning: ...
tek bhatt's user avatar
1 vote
0 answers
74 views

Updated theme conflicts with updated php version

I have an old site that hasn't been touched in a while. If I update php version from the current one (5.something) to 8.something the site breaks because the theme version is too old; and I cannot ...
DavideL's user avatar
  • 111
1 vote
1 answer
2k views

WordPress not showing plugin updates available

I've got this strange issue where a WordPress website is fully up to date, has no issues in terms of PHP errors etc However, the installed plugins are stuck as old versions, and are not showing any ...
Lee's user avatar
  • 337
0 votes
0 answers
16 views

Updating plugins overwrite theme

I'm facing the same issue on the second website. Everytime I update a plugin, this disappears from the plugins directory and its files completely overwrite those in the active child theme directory. ...
MKay's user avatar
  • 179
0 votes
0 answers
25 views

What's the best way to update my Wordpress theme to Elementor?

I currently have a Wordpress site that is completely built out. I want to rebuild the entire site using the elementor plugin. What is the best way to go about rebuilding the site without having to ...
Brandon B's user avatar
0 votes
2 answers
170 views

Critical error after updating my wordpress

I wanted to update my site to latest wp version but during update first it said : “Briefly unavailable for scheduled maintenance. Check back in a minute.” which went on for several minutes… And now it ...
upstream's user avatar
  • 101
0 votes
1 answer
76 views

Wordpress is updating only patch version and not minor

I was using version 5.1.15 It updated to 5.1.16. But not to 5.2 What should I check?
realtebo's user avatar
  • 257
0 votes
0 answers
29 views

edit wordpress website automatically from a program

i have recently made a program that checks prices on items on the internet and then saves it in a txt file. My goal is to automatically check the prices every hour and then update my wordpress website ...
David Toksvig's user avatar
0 votes
1 answer
39 views

WPML is blocking WP core update

I am tryin to update the core of Wordpress to 6.2 from the site desktop for a company whose WPML contract has expired. This is the error I get from WP: "WPML String Translation is trying to write ...
IvanSanczewski's user avatar
0 votes
1 answer
72 views

Is using upgrader_process_complete the correct way to perform plugin updates?

A couple months ago, I got my first WP plugin in the WP plugin repo. The plugin uses register_activation_hook with an attached function to create some custom MySQL tables to store data. Now that I'm ...
slanginbits's user avatar
0 votes
1 answer
205 views

How do I send out an update for my custom wordpress theme?

I created a wordpress theme and I've installed it on two sites so far. I recently made an update to the theme and I want to push it to all of my clients. How do I send out an update?
Philly's user avatar
  • 3
1 vote
2 answers
984 views

add_editor_style not working after upgrade to WP v 6.2

I had a site I was running with a block-based/FSE theme on WP v.6.1.1. In functions.php, I was loading my theme stylesheet in the Gutenberg editor using the following: function ...
Eric's user avatar
  • 21
0 votes
2 answers
127 views

Automated WordPress update failed to complete - but all updates fail with code -1

I have a WordPress website on my Ubuntu machine. I do use auto-updates and auto-updates for plugins. After I logged in recently I saw that a couple of plugins didn't update, as well as WordPress ...
RayofCommand's user avatar
0 votes
2 answers
65 views

Search WordPress Hook for completed Elementor Update

I am using WordPress and Elementor and looking for a hook that will fire when an Elementor update is completed. The hook should execute the Elementor function Regenerating CSS. This Elementor code ...
DohnDo's user avatar
  • 1
4 votes
1 answer
79 views

On WordPress.org Plugin repository, Last Updated Date doesn't match with Plugin Version Update Date

I have been going through the Plugin lists on all my client sites, looking for Plugins that haven't been updated by Plugin Authors. Every time we update a Plugin on a website, we note the date in our ...
Nora McDougall-Collins's user avatar
1 vote
1 answer
45 views

Can WordPress updates take down site functions?

I just received new assignments here at work, now i'm work with Wordpress, but is the first contact, i entered the site settings and saw that the situation is chaotic, WordPress is still at version 5....
wilsonbreda's user avatar
0 votes
1 answer
40 views

How to Replicate Elementor Licensing Model

I plan on selling premium WordPress plugins and I'm looking to implement an authentication model similar to Elementor where the end user is required authenticate their domain with my server in order ...
S.O.S's user avatar
  • 109
0 votes
1 answer
110 views

How to Enfroce Domain Licensing Limits? [closed]

I'm looking to sell premium WordPress plugins (using Easy Digital Downloads licensing manager) and I want to limit the number of domains the plugin can be activated on (to receive automatic updates). ...
S.O.S's user avatar
  • 109
1 vote
0 answers
272 views

wp-config was suddenly updated

I have a WordPress site in which I have a normal wp-config.php with my credentials for the database, table prefixes etc. Now when I woke up this morning the file has suddenly changed to other values ...
eligolf's user avatar
  • 123
0 votes
0 answers
42 views

Wordpress recommending to downgrade instead of upgrade?

First time seeing this, is this normal behaviour? Thanks guys
honey_badger's user avatar
0 votes
1 answer
46 views

Console errors after Wordpress Update 6.1

I am using Soledad theme with Woocommerce and after updating to version 6.1 I get these errors. Failed to load resource: the server responded with a status of 500 () post.php:1 Failed to load ...
in2d's user avatar
  • 101
1 vote
0 answers
26 views

Using AJAX to Update WordPress Theme

I am trying to create a wizard installer for my custom WordPress theme and I have succeeded to some extent. The license has been checked and the template is ready to be updated, and this is done ...
pedram's user avatar
  • 11
0 votes
1 answer
55 views

Cannot update plugin

I've implemented this class for update my plugin, I've followed this tutorial. I tested the update in localhost using XAMPP and everything works well, but unfortunately when I test on a live site I ...
sfarzoso's user avatar
0 votes
3 answers
1k views

pre_set_site_transient_update_plugins not updating

I've implemented this update class in my plugin, but for some reason the update banner isn't diplayed. Within the class Wp_License_Manager_Client I have this code: add_filter('...
sfarzoso's user avatar
0 votes
1 answer
641 views

Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme

I have two Wordpress sites with theme Dyad 2 https://wordpress.com/theme/dyad-2 I need to upgrade from PHP 7.4 to 8.1, but when I try I got four "Deprecated: Non-static" errors. I managed to ...
raffe's user avatar
  • 3
0 votes
2 answers
276 views

upgrader_process_complete filter not fired using ajax updates

a very specific question about upgrader_process_complete filter (but also upgrader_post_install). I must call some functions whenever specific themes/plugins are updated. The code works perfectly when ...
a-coder's user avatar
  • 400
1 vote
2 answers
1k views

Why does this code snippet create a critical error on my site? [closed]

This snippet used to work fine but with the update to PHP 8.0 it now breaks the site when a WC order is switched to this custom status //Add custom bulk action in dropdown add_filter( 'bulk_actions-...
J4G's user avatar
  • 113
0 votes
1 answer
36 views

Update value inside array update_post_meta

I am trying to change default values inside array in custom field. But I am getting error "PHP Fatal error: Uncaught Error: Cannot use string offset as an array" when I try to change the ...
user7459842's user avatar
0 votes
0 answers
26 views

"Can't update in WordPress"

WordPress changes can't showing. WordPress version: 5.5.3 Node version: 14.19.3 PHP version: PHP 7.4.29 npm version: 6.14.17 There is a website under development in WordPress. I edited the page in ...
Andrey's user avatar
  • 1
4 votes
6 answers
4k views

Updating WordPress core with zero downtime - I mean zero

I have a critical website which is under version control. When I update the core WordPress files I do so locally, then commit the changes. When I do that the live site (obviously) does not even ...
mayersdesign's user avatar
1 vote
0 answers
262 views

Updates for a private theme

I wrote a own theme and I dont wanna deploy it by myself. The customer should do that himself. I found this solution for plugins. But it doesn't work for themes. Is there an alternative to add_filter(...
melaniemueller.design's user avatar
0 votes
0 answers
34 views

Changing update message from Newspaper child theme

Maybe my question is very particular and limited to Newspaper theme users. I’m using child theme with an update server. It works fine. I’m wondering if I can change this update message and actions ...
Emmanuel Borges's user avatar
0 votes
1 answer
25 views

Are major WordPress updates mandatory for security?

I have created a web site, I want to activate minor updates (for security) on it and disable major updates (to avoid problems with themes or plugin or my functions.php which could become incompatible ...
Nicolas Bourdon's user avatar
0 votes
1 answer
90 views

Custom Wordpress Plugin will install new and not update

I've just created my first custom Wordpress plugin. Now I want to push a new version: Recreation Steps: Install v1.1.0 Activate v1.1.0 See that is doing stuff -> YEAH Create new Zip with v1.1.2 ...
CasualBen's user avatar
  • 123

1
2 3 4 5
14