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

Questions tagged [updates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Updated plugins keep showing in the control panel and command line

In Craft CMS 4.8.10 I have updated my plugins via command-line and in the control panel and they both come back with the updates successful. But in the control panel the updates continue to appear ...
bhackett's user avatar
  • 137
2 votes
1 answer
21 views

dateUpdated for different sites

I need to be able to distinguish when entries for multilingual websites were last updated. If I use entry -> dateUpdated, it gives me the same date for the English and German version of the entry, ...
Vio's user avatar
  • 21
2 votes
2 answers
91 views

Upgrade to 5.x failed

I followed the upgrade instructions. My current version is 4.8.1. When I run composer update, I get the following error: I added the following code to composer.json because of another issue: "...
flip's user avatar
  • 149
1 vote
1 answer
117 views

Can't Update CraftCMS

I'm currently using Craft CMS 3.7.9. When I go into Utilities -> Updates (which shows a 5 so there must be updates), a red message appears at the top that says "A server error has occurred&...
Jake1293's user avatar
  • 159
1 vote
1 answer
71 views

Help! Update caused Craft to break

I haven't got around to do much with Craft yet, but I think I've installed it correctly - everything seemed to be working fine, but when I clicked the "update" button today, it broke. I now ...
Erica's user avatar
  • 11
1 vote
1 answer
118 views

I can't update the craft CMS. Returns an error

CRAFT CMS 4.5 has been released. I have updated to this version calmly. There are new updates 4.5.1, 4.5.2, 4.5.3. But when trying to update the system, it gives this error: Ошибка: The command "...
Dimi's user avatar
  • 293
3 votes
2 answers
1k views

3.7.9 and above update issue

I'm trying to update Craft to the latest version of Craft 3, I can get as far as version 3.7.8, but any version higher than that causes an error 500 on both front and backend. I'm using a Mac and Mamp ...
Mark's user avatar
  • 287
1 vote
1 answer
80 views

How would I upgrade a Craft 3.4.3 site that has no composer.json file?

I don't know the history of this site. Though it has a bunch of plugins and a custom module. I tried removing the vendor folder and running composer install. Though at this point I am flailing. I ...
waivej's user avatar
  • 11
1 vote
1 answer
81 views

Upgrade from craft 2 fails due to read-only mode

I'm trying to upgrade an old Site from Craft 2.9.x. The goal is to eventually upgrade to Craft 4.x, but I thought it would be easier to first update to Craft 3.x. When trying to Finish up my database, ...
Sandro's user avatar
  • 43
1 vote
1 answer
150 views

FeedMe import to update specific Matrix blocks without affecting others

I'm familiar with using FeedMe to import into Matrix blocks, but I’m not sure how to do the following: I have a series of existing entries, each with a series of existing Matrix blocks of several ...
Jonathan Schofield's user avatar
0 votes
2 answers
437 views

Log warnings "..before Craft is fully initialized"

After updating a site from 3.7 to 4.2.8, in Dev mode and showing the debug toolbar and loading a really simple page (or the control panel) I'm seeing warnings in the log. I repeated the update process ...
Paul Frost's user avatar
  • 1,060
1 vote
0 answers
56 views

Updated to Craft CMS 4.2.5 and now the "New Category" button is missing in Control Panel [closed]

Like the title says. I've just updated to the latest version while building out a new site in Craft CMS and the New Category button is missing from the Categories screen in the CP. Both when you go to ...
vibe9's user avatar
  • 11
0 votes
1 answer
677 views

How to update from Craft version 2 to 4?

I'm working with a Craft site that's running on version 2.6 and I need to get it updated to the latest version. My first approach was to just start a fresh site and then import the existing database, ...
taylor018's user avatar
  • 103
1 vote
1 answer
1k views

Composer was unable to install the updates. Error: Unknown package has no name defined

Hi I cannot install Craft CMS updates. I have version 3.1.18 and I'm trying to update to 3.7.50 I have updated Composer successfully. I did however have a platform PHP 7 issue listed in composer.json ...
cannon303's user avatar
  • 309
1 vote
1 answer
230 views

Getting a mega error in updating from 3.1

Firstly, I understand it's silly to leave a project go this out of date, but it was out of my hands. Secondly, there are many abandoned plugins in here, but I'm keen to the project updated then adjust ...
Jay's user avatar
  • 1,042
1 vote
1 answer
151 views

composer.json showing different version to database

Have a site which is on version 3.6.16 I was running the upgrade to the latest versions and it crashed. I have restored the database and componser.json and composer.lock files and ran composer install ...
mmc501's user avatar
  • 1,789
1 vote
0 answers
138 views

Errors on updating the CMS

I am working on my first Craft CMS website. The website owner notified me this weekend, his website is out of the Google index. Found there is this bug https://github.com/craftcms/cms/issues/9621 Can'...
Sam's user avatar
  • 11
0 votes
0 answers
166 views

Craft CMS update failed - Connection refused

I'm gettting the following error while trying to update within the control panel. Fehler: curl error 7 while downloading https://composer.craftcms.com/packages.json: Failed to connect to composer....
Marco's user avatar
  • 11
1 vote
1 answer
407 views

Exception 'yii\base\UnknownMethodException'

After updating to 3.7.19 I ran the command as instructed in the changelog: php craft utils/repair/section-structure <sectionHandle> But it returned the following: Exception 'yii\base\...
Paul Frost's user avatar
  • 1,060
2 votes
1 answer
174 views

Updating to 3.7.19 query

The update notes say: After updating, run the following command for each Structure section, to prune unneeded >structure data for drafts and revisions. php craft utils/repair/section-structure I ...
Paul Frost's user avatar
  • 1,060
1 vote
0 answers
307 views

Migration fails during update to 3.7.7

I'm updating a Craft installation from 3.5.17.1 to 3.7.7 and it's failing when applying migrations. I'm trying to do the update via CLI on MAMP. Here is the relevant part of the error: *** applying ...
artmem's user avatar
  • 1,022
1 vote
1 answer
479 views

Updating to 3.7 issue (applying m210602_111300_project_config_names_in_config)

Probably my fault — I’m generally OK with this stuff until something goes wrong — but… I updated a local install (MAMP PRO) to Craft 3.7 by clicking that lovely 'update' button. And it worked fine, ...
mitrol's user avatar
  • 262
1 vote
1 answer
173 views

Update from 3.5.19 to 3.6.15 Failed

Tried doing an update to 3.6.x from 3.5.19 from the terminal and got this horrifying message: `` Performing one update: - craft 3.5.19 => 3.6.15 Backup the database? (yes|no) [yes]:yes Backing up ...
Roi Agneta's user avatar
  • 1,463
3 votes
1 answer
239 views

Update from 3.3.4.1 to 3.6.11.2 advice

What is the best way to do this? I also have a number of plugins that all need updating from the same time period. I don't think any of the breaking changes affect anything I've done, but I wonder/...
Paul Frost's user avatar
  • 1,060
2 votes
1 answer
54 views

Plugin record no dateUpdated and uid

I'm building a small analytics plugin and as such, I don't need the dateUpdated and uid columns in my records, but I dind't find any way of disabling them. Currently I have tried: Not setting them in ...
ovesco's user avatar
  • 35
1 vote
1 answer
270 views

Commerce new order error : mail::getRenderLanguage() must be of the type string

I just pushed an update to the latest version of craft cms and craft commerce and ran into an error that is blocking new orders from finalizing. Everything works on the local site. On the live site, ...
Jack's user avatar
  • 31
2 votes
1 answer
5k views

"Error: Unknown package has no name defined" when updating Craft 3

I'm getting "Error: Unknown package has no name defined" when updating a site from 3.0.41.1 to 3.5.15.1 I had read a reinstall of composer had fixed this for someone else, but hasn't for me. ...
Jaytrix's user avatar
  • 337
2 votes
1 answer
92 views

dev- branch plugin forks being prompted for update

I'm currently using a fork of a plugin for my site, and using a "dev-[branch-name]" version specification in the composer "require" block, with a "vcs" repository ...
Jegra's user avatar
  • 81
1 vote
1 answer
138 views

Update 3.5.15.1 - Fixed a bug where the Updates utility wasn’t showing “Update” buttons

The update button is missing, and the fix is available, but impossible to initiate from the CP. Before I embark on a manual update, I wondered if there was a URL that I could use to trigger the ...
Matt P's user avatar
  • 1,548
14 votes
7 answers
43k views

"Unknown package has no name defined" composer error on upgrade

Upgrading from Craft 3.4.20 running Composer 1.10.17 on PHP 7.2. Running ./craft update all returns the following error: error: Unknown package has no name defined. [followed by JSON object related to ...
Jason's user avatar
  • 348
1 vote
1 answer
438 views

Dependency Conflict Updating to Craft 3.5

I'm trying to update to Craft 3.5 from 3.4.3 but running into this error message: Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring. Loading composer ...
theAdhocracy's user avatar
2 votes
2 answers
2k views

Craft 3.5.1 CLI Update Error: Failed to instantiate component or class "yii\shell\Bootstrap"

when I try to update Craft via CLI to 3.5.1. I get the following error: Failed to instantiate component or class "yii\shell\Bootstrap in /vendor/yiisoft/yii2/di/Container.php:449 Stack trace: #0 ...
pepe's user avatar
  • 315
2 votes
2 answers
151 views

Craft 2 to Craft update - timeout when updating database

I am trying to update a site from Craft 2 to Craft 3. I first set up a new server, installed Craft 3, copied over config settings from the original site, and moved over a copy the original database. I ...
Roi Agneta's user avatar
  • 1,463
1 vote
1 answer
32 views

What does update actually do?

Upon updating CraftCMS via CP > Utilities or Terminal, does this update only the vendor folder? Or does it also change structure in the DB and other files outside the vendor?
Jessica Talzor's user avatar
1 vote
1 answer
172 views

Updating old setup (3.0.41.1) to 3.1.0 various errors every time

I'm unfortunately dealing with a very old system that hasn't been updated in a long time. I've been able to update it up to 3.0.41.1 but once I attempt to go any further I get tons of different errors....
cballenar's user avatar
  • 1,409
1 vote
1 answer
488 views

AWS EC2, Load Balancer and Updating Craft

I have a pretty large Craft site that needs to be load balanced with multiple ec2 instances and one RDS mysql instance. Everything is working great, except for I noticed that if I get to the admin ...
Hou-Tai Wong's user avatar
1 vote
3 answers
456 views

Updating Craft to 3.3.19 gives 503 error only for logged-out users

Working on an outdated client project and updated craft on staging from 3.0.30.1 to 3.3.19 I'm getting 503 errors (site temporarily unavailable) when trying to visit any page on the site -- but only ...
slander's user avatar
  • 73
2 votes
2 answers
4k views

ext-zip trouble

Issue: craftcms/cms 3.3.9 requires ext-zip * -> the requested PHP extension zip is missing from your system. Details: I am running on MAMP Pro 5.3. Currently using PHP 7.3.3 (but previous versions ...
Seraphim Jester's user avatar
2 votes
0 answers
35 views

How to protect elements that are being edited during project-config/sync?

Some situations: An editor is editing an entry in the CP while an admin runs project-config/sync. A user starts a front end form to create a new entry before project-config/sync is run, but submits ...
Katie Fritz's user avatar
1 vote
1 answer
382 views

How to update Craft CMS/plugins without downtime?

On our production server, we have strict SLAs concerning when our site can be down. I've noticed that when I update Craft CMS 3 (using "./craft update all" on the server), the site will go down for ...
Jeff's user avatar
  • 11
3 votes
1 answer
419 views

How to determine source of Elements save event

We need to send notification emails when entries of a particular type are created, updated, or enabled/disabled. The entrypoint for this happens in a module's init() method: Event::on(Elements::class,...
plaintxt's user avatar
  • 488
2 votes
1 answer
267 views

Updating large database from Craft 2 > 3 via command line

I'm migrating a large Craft + Commerce site up to Craft 3. I've completed all the initial steps and get as far as the "To complete the update, some changes must be made to your database. Finish up" ...
Ant Cooper's user avatar
1 vote
1 answer
122 views

Database migrations on environments - in which env do I apply updates to Craft and Plugins?

When developing a Craft 3 site on a multi-environment setup, where would I apply the Craft and Plugin updates? Should I apply them locally and then commit and replace the database in the dev env, or ...
nitech's user avatar
  • 679
1 vote
1 answer
47 views

Internal Server Error - getDateFormatter() on null

When doing a manual update from 2.6.3012 to 2.7.8, I get the following error: Internal Server Error Call to a member function getDateFormatter() on null I get the following error when enabling ...
MXDVL's user avatar
  • 121
2 votes
2 answers
367 views

my vendor/craftcms/cms folder delete automatically after every update or install

I was on version 3.1.22. As usual, I wanted to install the update on Craft CMS 3.1.23. So I clicked Install and got this error: Status: Error But that was not all ... My complete vendor/craftcms/...
Samuel's user avatar
  • 61
3 votes
3 answers
1k views

cannot update Craft CMS - composer errors

I'm upgrading a site to 3.0.41.1 (not ready to go to 3.1) and when I do I get the following error. How do I resolve this? composer update craftcms/cms Loading composer repositories with package ...
CreateSean's user avatar
  • 1,973
1 vote
1 answer
265 views

Craft CP showing plugin updates, but already updated

This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available ...
Rinus's user avatar
  • 135
6 votes
7 answers
3k views

Invalid plugin: No plugin exists with the handle - Craft 3

I had an issue with my site running Craft 3.1.15 where I wasn't able to update the site to the most recent 3.1.16, and also wasn't able to install any plugins. Every plugin I tried would throw this ...
Amy's user avatar
  • 407
1 vote
1 answer
67 views

Plugin not updating in the plugin store from changelog updates

I have a custom plugin registered with id.craftcms.com. The plugin store currently sees it at as 2.0.0, but I have since updated the plugin to 2.0.1 (and subsequently tried to force a silent 2.0.2 ...
Rob Erskine's user avatar
1 vote
1 answer
108 views

Error when updating from 3.1.11 to 3.1.15

After I run an update, I get this error: '⚠' is not a numeric value. I've tried to run the updates multiple times with the same result. I was also able to update plugins with no issues. yii\base\...
Mario's user avatar
  • 13