Questions tagged [error]

The tag has no usage guidance.

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

Accessing eager loaded Collections data

So I have a query to return series. At the same time I eager load the series client. {% set series = craft.entries() .section('series') .inArchive(false) .with('client') .collect() %} ...
1 vote
1 answer
34 views

Website transfer places /web in all urls, cs and js not loaded when moved up directory

I just transfered my website from one server to one.com. Now nothing works anymore cuz apparently one.com wants the index.php in the root directory but my index.php is in the "web" directory....
  • 11
1 vote
1 answer
26 views

Matrix field entry link corrupted

Some of my links coming from a matrix field with entry became corrupted. Anyone had this before and knows how to fix it?
  • 19
1 vote
1 answer
38 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 ...
0 votes
0 answers
19 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, {...
1 vote
0 answers
41 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 ...
  • 11
1 vote
1 answer
368 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 :...
  • 61
1 vote
3 answers
96 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 ...
0 votes
0 answers
180 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 ...
1 vote
1 answer
129 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 /...
1 vote
1 answer
117 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 ...
0 votes
0 answers
92 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....
0 votes
0 answers
33 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, ...
0 votes
0 answers
37 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 ...
0 votes
0 answers
109 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......
1 vote
1 answer
76 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 ...
  • 21
1 vote
0 answers
169 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: ...
  • 111
0 votes
0 answers
38 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 ...
  • 131
1 vote
1 answer
80 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 ...
  • 608
0 votes
0 answers
49 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 ...
0 votes
0 answers
44 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&...
1 vote
1 answer
62 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?
0 votes
0 answers
51 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....
1 vote
1 answer
39 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 ...
0 votes
0 answers
117 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 ...
  • 1
1 vote
1 answer
420 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 ...
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. ...
  • 107
1 vote
1 answer
350 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 ...
  • 213
1 vote
1 answer
36 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,...
0 votes
0 answers
107 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\...
1 vote
1 answer
144 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 ...
1 vote
2 answers
572 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 ...
0 votes
0 answers
132 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 ...
  • 178
0 votes
0 answers
43 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 ...
1 vote
1 answer
95 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'...
1 vote
1 answer
147 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 ...
  • 11
2 votes
2 answers
171 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 :)
  • 129
2 votes
1 answer
97 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”. ...
1 vote
1 answer
110 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. ...
  • 113
0 votes
0 answers
20 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. ...
  • 11
1 vote
1 answer
21 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
  • 21
2 votes
1 answer
72 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 ...
  • 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 ...
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 ...
  • 1,769
1 vote
1 answer
94 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 ...
  • 11
1 vote
1 answer
673 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 '...
1 vote
1 answer
182 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::...
1 vote
1 answer
67 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="...
0 votes
0 answers
464 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 ...
  • 889
0 votes
0 answers
112 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 ...
  • 1

1
2 3 4 5