craft-blitz | Intelligent static page caching for creating lightning | Content Management System library
kandi X-RAY | craft-blitz Summary
kandi X-RAY | craft-blitz Summary
Intelligent static page caching for creating lightning-fast sites with Craft CMS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Save cache settings
- Clear cached pages .
- Save page to cache
- Get all actions .
- Check if the current request is a cacheable page .
- Warm the request URI .
- Create tables .
- Returns whether the element has changed
- Send request to API
- Register cacheable events
craft-blitz Key Features
craft-blitz Examples and Code Snippets
Community Discussions
Trending Discussions on craft-blitz
QUESTION
I am running the following command to update craft cms:
...ANSWER
Answered 2021-Aug-11 at 22:28So I was able to figure out the issue. I had inherited the project and someone had added 'bootstrap' => ['debug']
to the config/php.app file, to enable the Yii debug toolbar. This debug module is calling addRules() on the UrlManager object, and craft code had set the rules field of this object to null instead of [ ]. When addRules() was called, array_merge() threw an exception on the null value (as it was expecting [ ] instead). This code path can be avoided entirely by removing the debug module.
TLDR; remove 'debug' module from config/php.app if you get an array_merge() exception in UrlManager.php when updating to craft 3.5.12.1 or greater.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install craft-blitz
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page