2022 Developer Survey is open! Take survey.

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Http 503 — Service Unavailable error after successful craft 4 installation. Can't even load a hi.txt file in web root

After successfully getting my DB setup and installing Craft through the command line, I'm getting a persistent 503 error on even a simple hi.txt file https://saltandpepper.recipes/hi.txt On the admin ...
user avatar
0 votes
0 answers
14 views

Displaying errors on frontend profile form

I have a user profile form on the frontend that doesn't display errors for a URL field. The field handle is 'website'. This is my code: {% macro errorList(errors) %} {% if errors %} {{ ul(errors, {...
user avatar
1 vote
0 answers
31 views

Internal server error - Cannot serve directory

Randomly a couple of times a day my website throws an Internal Server Error that fixes itself within minutes. Checking the logs (have replaced my username with 'username') it looks like a server issue ...
user avatar
  • 11
1 vote
1 answer
167 views

Tailwind CSS: require(...) is not a function error in VSCode

Maybe it's something stupid I'm overlooking, but nevertheless I tried everything to overcome this error. I followed the tutorial step by step, so maybe I'm looking totally in the wrong direction here :...
user avatar
  • 61
1 vote
3 answers
59 views

Importing DB Errors: craft_resourcepaths

On the latest version of Craft, (3.7.25.1) after updating I'm getting regular errors when importing a backup into production servers during deployments. Here is an example of the error: error: The ...
user avatar
0 votes
0 answers
90 views

craft\web\Request::cookieValidationKey must be configured with a secret key

For a while our Craft CMS webshop show errors in the control panel. This happens 25%-50% of the requests. Looking in the phperror log a lot of this errors are logged: [13-Dec-2021 23:00:05 UTC] An ...
user avatar
1 vote
1 answer
67 views

Craft CMS admin intermittent internal server errors

I'm getting intermittent Internal server errors in Craft admin. This has happened out of the blue on an active site. Craft pro 3.041 phperrors.log: PHP Notice: Undefined index: constraint_name in /...
user avatar
1 vote
1 answer
64 views

Migrating Craft CMS 2 to 3

I have a craft CMS 2 codebase that a former developer had made for running on our PHP 5 server. Recently, the server upgraded its PHP version to 7.3 so I am trying to migrate the website to a later ...
user avatar
0 votes
0 answers
45 views

Can someone help me solve for this error message: "Craft can't connect to the database with the credentials...."

Can someone help me solve for this error message: An exception has been thrown during the rendering of a template ("Craft can't connect to the database with the credentials in craft/config/db.php....
user avatar
0 votes
0 answers
27 views

500 errors, fix them then lose plugins and site won't load

I've been going around in circles. Moved a site yesterday, all seemed OK. Went to install a plugin this evening, and got a fatal error (I had been getting the same error when transferring the site, ...
user avatar
0 votes
0 answers
34 views

Update following site import leads to fatal error

Today, I have moved a fully up-to-date installation to a new server, and three times now on a seemingly successful installation, after going to update to the latest version (the existing install is up ...
user avatar
0 votes
0 answers
65 views

internal server error when creating new field

whenever i try to save a new field I get an internal server error in the backend of craft 3. This happens whenever i want to create or modify a field that has an input like date, plain text, reactor......
user avatar
1 vote
1 answer
46 views

Redirect to Craft CMS Website Results in 403 "Request forbidden by administrative rules"

My Setup I added a stripe checkout redirect from my craft website using Stripe Checkout so I can accept payments from customers using payments handled by stripe. In simple, I use AJAX on the frontend ...
user avatar
  • 21
0 votes
0 answers
35 views

Error trying to push Craftcms DB from staging to Production

I am having a problem trying to use command php craft copy/db/up prod, when craft starts to push the DB to the production stage it stops at halfway and the website goes down! the error in MySQL is ...
user avatar
1 vote
0 answers
150 views

HTTP 404 – Not Found – yii\web\NotFoundHttpException

New to Craft and following the tutorial to Create the blog. When trying to browse the created blog page get 404 error below. HTTP 404 – Not Found – yii\web\NotFoundHttpException Template not found: ...
user avatar
  • 111
0 votes
0 answers
26 views

404 accessing the admin site - not rewrite related

I'm struggling with a downloaded copy of a clients Craft 3 based website. I've downloaded the entire project, and have tweaked the .env file and .htaccess for my local mac's setup. The site itself ...
user avatar
  • 131
1 vote
1 answer
39 views

Basic 404 setup not working

I look at past Q & A about this, but am still perplexed. Not logged in to CP or frontend I have a simple template called 404.twig which resides in the templates folder I can access the template ...
user avatar
  • 684
0 votes
0 answers
47 views

Need help: multiple request throttling

I have an issue in the CraftCMS back office when I try to export all entries. When I try to export all the entries in expanded mode it takes ~1min but every minute the back office send another ...
user avatar
0 votes
0 answers
43 views

Craft is not installed yet with a REDIS error

Our website is on the latest version of Craft 3.4, using REDIS (redis_version: 4.0.9) for Sessions and Caching. Today the website stopped working with the well-known "Craft is not installed yet&...
user avatar
1 vote
1 answer
49 views

Twig Runtime Error on settings/general (value: system.name)

When I go to settings/general in the CP i get this Twig Runtime Error. Does anoyone here know what to do to fix it?
user avatar
0 votes
0 answers
49 views

All URLs changed path after upgrading to 3.6?

I'm not sure exactly what has changed here. All links are directing to "site.test/admin/site.test/blog/{slug}", when clicking on the link from the entry page. Before they would be "site....
user avatar
1 vote
1 answer
35 views

After transferring local to server, Twig Runtime Error: Impossible to invoke a method all() on an array

I transferred site from MAMP to Arcustech server and the Admin panel works fine, I even updated to 3.6.6, but the front-facing site throws an error: Twig Runtime Error: Impossible to invoke a method ...
user avatar
0 votes
0 answers
98 views

Internal Server Error when updating slug

I'm getting an internal server error when I try to update the my entry's slug on prod, but not on dev or locally. It's happening across entries, it doesn't seem to be specific to a certain entry. Any ...
user avatar
  • 1
1 vote
1 answer
361 views

Feed me plugin, cURL error 60

This is my first time using the Feed Me import plugin (craft 3.5.15.1). I'm pointing the feed URL to a file in the public root, e.g. http://dev.mydomain.com/import.csv. When executing the import, I ...
user avatar
1 vote
1 answer
4k 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. ...
user avatar
  • 95
1 vote
1 answer
289 views

Database Exception Column not found: 1054 Unknown column 'configVersion' in 'field list'

I get this Error when i want to save a Field. Also when i want to create a new field. I can hit the goback button and strangely the field gets still saved. I work local and have project config ...
user avatar
  • 213
1 vote
1 answer
32 views

Admin panel not working without language code

I've migrated a website with CraftCms 2 from local to a pre-production server. Everything is working fine but, I don't know why, I only can go to the admin panel with locale code before /admin. I mean,...
user avatar
0 votes
0 answers
88 views

Undefined property: DOMElement::$tagName

When I am logged into the admin control panel and I go to "Settings", I receive the error "Undefined property: DOMElement::$tagName". Here is the Stack Trace: yii\base\...
user avatar
1 vote
1 answer
115 views

Error on functions in queue: “Session does not exist in a console request.”

I already experienced this same problem with Craft Commerce a while ago (Error on functions in queue: "Session does not exist in a console request.") and got a solution that solved the ...
user avatar
1 vote
2 answers
472 views

Site moved to new server - Error 500

I inherited a site running craft and I was asked to move it to my server to host it. The other developer zipped the files and made a database dump for me. Usually, when I move a site, they have Cpanel ...
user avatar
0 votes
0 answers
127 views

Error when setting field length on global

I have set up several globals to store the URLs of a company’s social media accounts. Each one is a plain text field, and each one is limited to 254 characters. This works fine with three of them, but ...
user avatar
  • 176
0 votes
0 answers
39 views

Website Stuck on Load after few requests

I'm facing a weird issue here. I'm developing a CraftCMS based website and all seem to be working fine, until after a few requests (clicking around 4 ~ 5 requests) the website seem to keep loading and ...
user avatar
1 vote
1 answer
86 views

Updates always error out

Every time I try to run an update, I get these errors. Installing plugins won't work either. I'm using Media Temple / Grid server hosting. I've increased the file size limits in php.ini as well. But I'...
user avatar
1 vote
1 answer
137 views

500 Error after Dreamhost server upgrade

Dreamhost upgraded my VPS overnight and I immediately got a 500 error. The site currently works on another Dreamhost VPS (the original below) and an Arcustech server. After checking the error logs I'm ...
user avatar
  • 11
2 votes
2 answers
151 views

Remove $_SERVER and DB Queries from logs in 3.4+

How can we disable Craft from logging MySQL queries and $_SERVER object into the logs? For our team, this creates additional noise that's not needed for us to debug issues. Thanks :)
user avatar
  • 129
2 votes
1 answer
84 views

Error on functions in queue: "Session does not exist in a console request."

I get the following error on multiple order mails from Craft Commerce. The error points out to the lines where a macro is called: Email template parse error for email “New order”. Order: “e35f244”. ...
user avatar
1 vote
1 answer
97 views

Error when trying to update Craft

I'm pretty new to CraftCMS and am trying to install updates for a client. I am getting this error and I don't really know what it means. Any help of brief explanation for this would be appreciated. ...
user avatar
  • 113
0 votes
0 answers
19 views

spinning wheels on dashboard columns - can't edit site - unknown error

I'm getting constantly spinning wheels on columns on dashboard and can't edit the site - https://timetoshineleeds.org/ - but live site is fine. Got 'error unknown' message when going into dashboard. ...
user avatar
  • 11
1 vote
1 answer
20 views

Disabled Plugin Now Cannot Access Admin

As per the title, I have disabled a plugin in admin and now the admin is not accessible. It returns an Internal Server Error. Any help would be appreciated
user avatar
  • 21
2 votes
1 answer
70 views

"Field Limit is too big for your chosen Column Type" error on already existing fields when updating matrix

I'm getting the following error when I'm trying to update a matrix: "Field Limit is too big for your chosen Column Type."" I'm trying to add a new block type but this error keeps getting up on ...
user avatar
  • 65
1 vote
1 answer
38 views

Disabling caches in Safari results in server errors while developing Craft 3 site

I'm running into a vexing issue while developing a personal site in Craft. I have a new Craft 3 site, installed manually. I'm developing live on the server in a dev subdomain. My .env sets the site to ...
user avatar
1 vote
2 answers
2k views

Setting unknown property: craft\models\Update::packageName

I am taking over a Craft website for a client. It is currently working fine on the hosting environment. I have pulled the website down locally from the hosting environment - the exact same files and ...
user avatar
  • 1,769
1 vote
1 answer
82 views

Directories and files being created by "root" user, inaccessible to CMS

I'm new to Craft and have been asked to support a live site that is running on it. I've run into a problem that seems to be due to files on the server being created by the wrong user. The vast ...
user avatar
  • 11
1 vote
1 answer
607 views

Database Exception: Column not found: 1054 Unknown column 'position' in 'order clause'

I deployed the project from the git repository on hosting. When trying to open the homepage I get the following error: Database Exception SQLSTATE[42S22]: Column not found: 1054 Unknown column '...
user avatar
1 vote
1 answer
174 views

Any ./craft command throws error

When I attempt to run any ./craft it throws an error, for example: $ ./craft resave/entries Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: craft\console\Request::...
user avatar
1 vote
1 answer
64 views

Error 'form[fieldName] : <fieldName> is invalid' while submitting multiple checkboxes

I have a form with multiple checkboxes in it. However, when submitting the form it returns an error like this: {"success":false,"errors":{"formDate":["Date is invalid."]}} template: <input type="...
user avatar
0 votes
0 answers
399 views

Internal Server Error - The file does not appear to be an image

On a live environment I'm hitting an error when uploading some jpg images, which wasn't a problem on dev or production. I can get around it by re-exporting the image out and keeping it under 1mb, but ...
user avatar
  • 879
0 votes
0 answers
108 views

Craft CMS Content has Disappeared?

My content within all of my pages has disappeared. The website is only displaying the header and footer on each page. When I try to restore the internal page to it's previous version to get the ...
user avatar
  • 1
1 vote
1 answer
182 views

If I try to preview a previous revision of an entry, I get "an unknown error occurred"

Craft 3.3.15 Previous version of the entry was saved 1 minute ago, so no changes in settings between the two entries. Any ideas on how to debug this? Update - here's the error, which looks very ...
user avatar
  • 155
2 votes
2 answers
1k views

Control Panel or admin dashboard not found

I have installed craftcms 3 on my localhost. It got installed and the following screen appeared: If I click on Control Panel I see the following screen
user avatar
  • 23