Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
37 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
0answers
11 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 ...
0
votes
0answers
23 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
1answer
22 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
1answer
37 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 ...
1
vote
1answer
19 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 :)
2
votes
1answer
29 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
1answer
20 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. ...
0
votes
0answers
13 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. ...
1
vote
1answer
15 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
1
vote
1answer
21 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 ...
1
vote
1answer
29 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 ...
0
votes
1answer
275 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 ...
0
votes
0answers
44 views

Intermittent internal server error

I'm experiencing a very intermittent internal server error on a Craft site running 3.3.7. The message "An internal server error occurred" appears every now and then when trying to load a page. The ...
0
votes
0answers
17 views

Use imported macro in another macrofile

We want to import a macro from one file in another one: test.twig {% macro testMacro() %} {# content of macro #} {% endmacro %} other_macros.twig {% from '_partials/macros/test.twig' import ...
1
vote
1answer
36 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 ...
0
votes
0answers
38 views

Not able to access CP locally

I switched computers a few months ago, installed AMP server using same configurations I had. Now I cannot access CP on my Craft 3 projects locally. Front-ends load fine though. Every time I click ...
1
vote
1answer
77 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 '...
0
votes
0answers
22 views

Homepage shows but everything else puts out 404 errors

My homepage template is loading but everything else puts out a 404 error (server error). Can't access the control panel or any other sites. I have transferred my my project from a local server to a ...
1
vote
1answer
52 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
1answer
26 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
0answers
155 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 ...
0
votes
0answers
55 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
vote
1answer
60 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 ...
1
vote
2answers
275 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
1
vote
1answer
43 views

Deprecation Error with No Error

I have a large site that I've finally got all the deprecation errors fixed except for 1. There is no origin. I opened up the stack trace but am unable to find which template the deprecated code is in....
0
votes
0answers
29 views

CP login error for (only) one user in particular

One of our client logins has stopped working. When you try to login there's a spinner and then Failed to load resource: the server responded with a status of 504 () error on index.php:1 Sometimes ...
1
vote
0answers
25 views

Account Verification or Password Reset Error

Craft 2.6 I have a site that's been running for some time and now when trying to do a password reset or account verification error I get the following message. I found this stack exchange thread ...
1
vote
1answer
21 views

Clicking New field on /admin/settings/field/new hangs site

Running 3.2.4, and clicking on "new field" which calls /[admin]/settings/fields/new times out on our AWS servers where the DB is hosted in the cloud. It isn't an issue when everything's running ...
3
votes
3answers
1k views

unserialize(): Error at offset 0 of 60695 bytes

Hey guys I am getting this error: unserialize(): Error at offset 0 of 60695 bytes when i push a backup of my local db to my staging environment. I am using craft 3. Any ideas? Clearing the /storage/...
1
vote
1answer
56 views

ERROR: relation “assetindexdata_id_seq” already exists on new database

I'm using PostgreSQL locally and everything is working as expected. However, when I decided to move/restore the database to the staging environment I am getting this error (even through the tables do ...
0
votes
0answers
406 views

Installing Craft CMS 3 on hosting - Unsupported DB driver value

i am trying to instal Craft CMS 3 on hosting and everytime it is going to fall on: 2019-07-05 16:33:55 [-][-][-][error][craft\base\ApplicationTrait::getIsDbConnectionValid] There was a problem ...
2
votes
2answers
693 views

“Request missing required body param” error when creating entry on front end

I get an Request missing required body param error when trying to create a new entry on the front end. All required fields are being filled. Nothing changed except the craft version. Craft version is ...
0
votes
1answer
43 views

Fatal PHP error upon installation

I attempted to install the newest version of Craft and received this error in my logs: PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\craft-cms\vendor\yiisoft\yii2\...
1
vote
1answer
184 views

send e-mails via smtp without authentification

I try to send e-mails via SMTP without authentification and I'm getting the following error: There was an error testing your email settings. I checked my setup on https://www.smtper.net/. No ...
0
votes
1answer
95 views

An unknown error has occurred in asset reindex

I am getting the error: An unknown error occurred for each file in a folder when I try Update Asset Indexes. The folder is a local folder that is outside of webroot. The files just contain json data....
1
vote
1answer
41 views

Migrate multiple Craft 2 CMS sites on cPanel

I am completely new to Craft CMS but need to migrate multiple sites at a current hosting provider away to AWS. Due to a hard deadline, I have been looking at a lift and shift approach for the time ...
3
votes
3answers
509 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 ...
1
vote
2answers
297 views

Twig errors on v3.1.19

Running Craft 3.1.19 and have started getting twig error in the control panel. When I click on the utilities link I get this error: Declaration of craft\web\twig\Environment::compileSource(Twig\...
1
vote
3answers
428 views

404 – Not Found from _entry.twig templates in subdirectories

Following the Minjingo CraftQuest tutorial, I am getting an error on the front end when I access any routes other than the root/home page. In my template folder, I have a structure that looks like: ...
1
vote
0answers
273 views

Strange Redactor Config error when importing colleague's database

Description I am getting this error after importing a database supplied from my colleague. I have deleted the vendors directory and composer lock file in an attempt to re-install Redactor. I have ...
1
vote
1answer
78 views

Unknown Errors when trying to select category

Just like the post says, I'm getting unknown errors when selecting a category from a field. Nothing shows up in the craft error logs but here's what the console says: Just wondering if anyone else ...
1
vote
1answer
608 views

HTTP 500 Error after trying to update to Craft 3.1.1

I just tried to update Craft to 3.1.1 from within the CP. The install failed and I got an Internal Server 500 error. I now can't load either the front or backend of the site, I get a 500 error in both ...
0
votes
1answer
505 views

Error when Attempting to Install Plugins

I keep getting this error whenever I try to install a plugin. Not sure how to troubleshoot / resolve this. Basically, I need the Contact Form and CKEditor plugins. Setup: I'm running AMPPS with PHP ...
1
vote
1answer
84 views

Best way to find a deprecation error with no location hint?

I'm getting a deprecation error about looping through element queries, but in my markup all my loops are being setup with the .all() method, so I'm struggling to find this. And it's one that is ...
1
vote
1answer
29 views

Erros when using Entry Variable in craft.app.feeds.getFeedItems

I'm processing some feeds using craft.app.feeds.getFeedItems() and it works if I pass the limit as a hard coded number like this: {% set items = craft.app.feeds.getFeedItems(entry.rssURL, '5') %} <...
2
votes
2answers
1k views

Action URLs from CP to a Craft 3 plugin controller

I'm working on my first Craft 3 plugin and want to add some buttons to my plugin's control panel section which post form data to a controller. My plugin is called 'myplugin', the controller I wish to ...
2
votes
1answer
201 views

Locked out of my Account, how to get back in?

This really stressing me out! When trying to log back in to Craft CMS today after som time my password wouldn´t work. I have not changed it and when trying to reset the password I´m only getting: "...
0
votes
0answers
222 views

Large file upload, 500 server error

We've a Craft 3 site hosted with Digital Ocean (Serverpilot set-up) with the DNS routed through Cloudflare. The client has experienced issues uploading large ZIP files to (c140MB), returning a 413 ...
0
votes
1answer
122 views

RSS throwing 404 error

I used this example to create an RSS feed in Craft, saved it as “feed.rss”, uploaded it into the “craft/templates” directory. When I go to www.my-website.com/rss, I get a 404. What am I missing here?...