You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that I'm trying to upgrade from Craft 4 to Craft 5. In some of my templates I use both craft.app.session and the cookies plugin. I'm also fetching data from an external DB following this article. In those templates, I get the following error:
If I clear the cache with ctrl+F5 it seems to work for some time... until it doesn't.
When devMode is disabled the error is hidden and the page loads just fine.
This is probably my fault because I'm doing some weird things in my templates, so — for now — don't lose too much time looking into this, I'd just like a nudge in the right direction. Do you have any obvious pointers based on the above?
I 'll come back to you with more details to help you reproduce if I'm unable to solve by myself, or I'm more confident it's a Craft bug.
Craft CMS version
5.6.11
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
I have a project that I'm trying to upgrade from Craft 4 to Craft 5. In some of my templates I use both
craft.app.session
and the cookies plugin. I'm also fetching data from an external DB following this article. In those templates, I get the following error:Notes:
ctrl+F5
it seems to work for some time... until it doesn't.devMode
is disabled the error is hidden and the page loads just fine.This is probably my fault because I'm doing some weird things in my templates, so — for now — don't lose too much time looking into this, I'd just like a nudge in the right direction. Do you have any obvious pointers based on the above?
I 'll come back to you with more details to help you reproduce if I'm unable to solve by myself, or I'm more confident it's a Craft bug.
Craft CMS version
5.6.11
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: