Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
30 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
20 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
33 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
32 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
30 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
70 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
23 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
85 views

Server 500 Error on Saving an Entry - Tried to roll back a savepoint, but it does not exist

I was saving several pages, they all saved fine, then one page gave me an internal server 500 error. So I cant save it and have no idea why. I dont know if its relared by my queue has over 29,652 ...
0
votes
0answers
19 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
23 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
15 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 ...
2
votes
3answers
907 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
22 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
213 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
296 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
33 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
79 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
68 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
35 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
236 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
218 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
184 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
192 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
52 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
464 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
294 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
66 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
26 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') %} <...
1
vote
2answers
908 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
128 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
179 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
107 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?...
1
vote
1answer
451 views

Craft 3: admin is showing “500 Internal Server Error” (apache) after fresh install

Just successfully installed a fresh copy of Craft CMS via web browser method under: http://kultursprung.org Frontend is visible but the admin is showing raw Apache error 500 after fresh install: http:...
1
vote
1answer
238 views

CraftCMS 2 -> 3 Migration error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)

I've successfully upgraded a Craft 2 install to Craft 3 on my local machine, but now that I've moved everything to production, I'm getting this error anytime I try to load a template that uses ...
1
vote
0answers
97 views

Some orders recieve double amount of products

I have a pretty critical issue with one of my clients websites. The site, running Craft CMS 2.7.2 and craft commerce 1.2.1364, uses a event/tickets plugin and uses Mollie as the payment provider. ...
1
vote
1answer
828 views

HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException

I have a problem with my page after upload on server. Currently a enabled devMode and while loading it shows HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException ...
1
vote
1answer
98 views

Emoji mb_detect_encoding() error when updating to latest Craft 2.6.x

I updated a Craft 2.6 installation to the latest 2.6.x and suddenly I get an error when saving a user's profile on the frond end: mb_detect_encoding() expects parameter 1 to be string, array given /...
1
vote
0answers
173 views

Cannot add more fields - SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large

I've been bumping into a field limit when attempting to mirgrate fields in, which is a massive limitation for the way the site was originally set up. I've read a bunch of other threads where it's ...
1
vote
1answer
102 views

Locked out of the admin interface

I'm having an issue with the login-page and since this is my first Craft website, I'm a little unsure of where to begin to look. When attempting to log in to the admin interface, my username/...
2
votes
1answer
161 views

Check for errors (any) on guest entry form (Craft 3)

I have a guest entry form that's working fine. I'm using Craft-supplied code: {% macro errorList(errors) %} {% if errors %} {% for error in errors %} {{ error }}{% if not loop.last %}, {% ...
2
votes
1answer
74 views

P&T Contact Form not submitting Craft 2

I'm working on a site that I did not build. The first party contact form stopped submitting so I updated Craft and all plugins. All went smoothly but the form is still not submitting. Checked the ...
0
votes
1answer
42 views

How to create any code from google spreadsheet like {.label} by Craft CMS

ex) original HTML source code <link rel="exhibit/data" type="application/jsonp" href="https://spreadsheets.google.com/feeds/list/~~~~/od6/public/basic?alt=json-in-script" ex:converter="...
1
vote
1answer
111 views

Internal Server Error: missing method or closure

Receiving the standard error: Craft\MatrixBlockModel and its behaviors do not have a method or closure named "sectionArticles". The problem is that this error doesn't make sense. Here is why: I ...
1
vote
1answer
217 views

Database Exception with Sprout Forms after updating to Craft 3

I've recently updated a site from Craft 2 to 3. I'm getting this error after login in to the admin regarding Sprout Forms which was installed in my Craft 2 install. What can I do to get the back-end ...
1
vote
3answers
2k views

Installing Craft 3 - Internal server error

Using Ampps on Windows, I'm trying to install a fresh Craft 3.0 and I've followed the steps and everything seems to be working. Until the very last step, where Craft says "Oops something went wrong". ...
1
vote
1answer
507 views

Getting HTTP 500 error at end of update process when going from Craft 2 to Craft 3 with MAMP

When I try to perform an update from Craft 2 to Craft 3 I am getting a 500 error at, what appears to be, the end of the process. No other info is given. I am using MAMP Pro V4 for Mac.
1
vote
0answers
397 views

Craft3: 1 Click update - broken site [closed]

Tried the 1 Click Update and it bombed. on domain.com/admin/utlities/updates url I get Twig Runtime Error – Twig_Error_Runtime Variable "CraftPersonal" does not exist. 1. in /vendor/craftcms/cms/src/...
1
vote
1answer
2k views

How To Fix “Error: Composer was unable to install the updates.”

I've been running an installation Craft CMS 3.0.0-RC13 for some time with no problems. However, now I cannot install new plugins nor can I remove any that are currently installed. I keep getting the ...
1
vote
1answer
286 views

Craft unable to determine if an update is available?

I just cloned a production site to run in a local environment to test and make sure the site was compatible with PHP7 in preparation for a production server upgrade. For the most part, it seems to ...