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
21 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
65 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
20 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
46 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
183 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
33 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
325 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
  • 327
0 votes
0 answers
15 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
18 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
129 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
38 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
26 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
32 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
40 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
0 answers
12 views

WordPress Post Updating is Not Working

I have an issue with My Website WordPress Post Updating is Not Working, When I tried to update the post it updated the post. Kindly Give your professional guidance Please
Shakeel Ahmad's user avatar
0 votes
1 answer
58 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
1 answer
444 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
0 answers
34 views

How to avoid problems caused by new block-library default CSS rules (wp 6.1.1)

I want to update from 5.8.3 to 6.1.1 but when I test it out locally I see that the default CSS for certain classes and elements has been changed so for example: .wp-block-buttons>.wp-block-button{ ...
pg.'s user avatar
  • 141
0 votes
2 answers
104 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
47 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
66 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
0 votes
0 answers
21 views

Failed to update a post when I add a taxonomy to it

I have a custom post type that has taxonomies added and when I mark a taxonomy in the block editor it does not update the post, and it automatically unmarks the marked taxonomy not allowing me to add ...
ruben_dev03'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
0 answers
13 views

Manually update notification of plugins needing updating

I have a free version of a plugin available in the repository and a pro version which is purchased separately. The Pro version updates through the plugins page via some custom code, however it isn't ...
Steve's user avatar
  • 277
0 votes
1 answer
38 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
80 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
192 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
41 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
44 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
21 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
50 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
922 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
509 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
219 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
  • 390
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
34 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
24 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
3 votes
6 answers
3k 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
206 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
29 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
24 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
40 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 vote
1 answer
287 views

Are custom tables in the database overwritten when WordPress is updated to new versions?

I'm relatively new to customising WordPress and I am unsure what happens to custom tables that are manually added to the database when WordPress is updated to a new version. Are custom tables deleted ...
Michael's user avatar
  • 11
0 votes
1 answer
13 views

Wordpress managing dates that change in text regularly

I have been searching for a way to better manage dates on a WordPress website. I work at a college whose website is on WordPress. One issue we continuously run into is out of dates for reoccurring ...
Bryan's user avatar
  • 1
1 vote
1 answer
2k views

Elementor\Scheme_Typography' not found [closed]

I just update my elementor plugin and suddenly my site goes down its display this error. code line error shows: 224. $element->add_group_control( Group_Control_Typography::get_type(), ...
MR. shaikh__92's user avatar
1 vote
1 answer
160 views

After upgrading Debian Buster to Bullseye, Wordpress sites no longer updating

Today I upgraded my webserver from Debian Buster to Bullseye and it was in fact a pretty straightforward upgrade. Everything seemed to work until I tried to reach a few WordPress sites on the server. ...
Zippy1970's user avatar
  • 111
1 vote
0 answers
36 views

Automatic updates and merging manual changes

I have Wordpress running on my dedicated server, and I thought it would be a good idea to use Git so that I can track changes that I make over time. I have updated a few things, mostly just little ...
Ant Kutschera's user avatar
0 votes
1 answer
102 views

WordPress plugins - "Update" in backend vs replacing all files with never version

TL;DR: Regarding plugins: Are there any noteworthy difference between clicking 'Update' in the WordPress backend, compared to replacing all the files with the files for a newer version? Details I'm ...
Zeth's user avatar
  • 828
0 votes
0 answers
51 views

Wordpress current version is 5.7.5 but I'm being prompted to "upgrade" to 4.9

I've tried reading various forums but can't find this issue anywhere. My site is a managed WordPress site hosted on GoDaddy with access to the cPanel and file manager to modify files if necessary.
Alex F's user avatar
  • 101
0 votes
2 answers
665 views

Update custom plugin with WP-CLI

I made a custom plugin for inserting staging / production versions of a Google Tag Manager container based on the server's IP address. How do I make it compatible with WP-CLI so it will update when I ...
whakawaehere's user avatar

1
2 3 4 5
14