grav-plugin-advanced-pagecache icon indicating copy to clipboard operation
grav-plugin-advanced-pagecache copied to clipboard

"Identifier "user" is not defined."

Open kromonos opened this issue 5 years ago • 4 comments

After upgrading from 2 to 3 I get an "Identifier "user" is not defined." error.

I'm running latest Grav with following extensions installed:

$ bin/gpm index | grep "| installed"
| 2     | Embed                    | embed                      | v1.0.0        | installed     |
| 26    | Image Collage            | image-collage              | v1.0.4        | installed     |
| 32    | Date Tools               | datetools                  | v1.0.6        | installed     |
| 47    | Scheduler                | scheduler                  | v1.0.0        | installed     |
| 55    | Twig Cache               | twigcache                  | v1.3.0        | installed     |
| 72    | LightSlider              | lightslider                | v1.5.3        | installed     |
| 75    | Unitegallery             | unitegallery               | v1.1.3        | installed     |
| 115   | Lazy Image               | lazy-image                 | v1.0.3        | installed     |
| 144   | Taxonomy List            | taxonomylist               | v1.3.3        | installed     |
| 151   | Fortune                  | fortune                    | v1.0.0        | installed     |
| 164   | Language Selector        | language-selector          | v1.1.0        | installed     |
| 174   | Twig Extensions          | twig-extensions            | v1.1.0        | installed     |
| 180   | Custom CSS               | custom-css                 | v0.2.2        | installed     |
| 201   | Related Pages            | relatedpages               | v1.2.2        | installed     |
| 207   | Image Captions           | image-captions             | v2.0.1        | installed     |
| 210   | Feed                     | feed                       | v1.7.1        | installed     |
| 212   | Pagination               | pagination                 | v1.4.2        | installed     |
| 214   | Error                    | error                      | v1.6.2        | installed     |
| 235   | CORS                     | cors                       | v1.0.2        | installed     |
| 238   | Markdown Notices         | markdown-notices           | v1.0.4        | installed     |
| 246   | Twig Feeds               | twigfeeds                  | v4.0.1        | installed     |
| 249   | External Links           | external_links             | v1.6.2        | installed     |
| 270   | Tools Collection         | tools-collection           | v0.1.4        | installed     |
| 288   | Archives                 | archives                   | v2.0.0        | installed     |
| 291   | Breadcrumbs              | breadcrumbs                | v1.6.0        | installed     |
| 295   | Shortcode Core           | shortcode-core             | v4.2.3        | installed     |
| 297   | Sitemap                  | sitemap                    | v1.9.5        | installed     |
| 312   | SimpleSearch             | simplesearch               | v2.1.0        | installed     |
| 317   | AdvancedPageCache        | advanced-pagecache         | v3.0.0        | installed     |
| 320   | Form                     | form                       | v4.0.10       | installed     |
| 321   | Email                    | email                      | v3.0.9        | installed     |

Screenshot at 2020-06-21 07-18-49

kromonos avatar Jun 21 '20 05:06 kromonos

What version of grav? And can I see the full stack trace not just the line of code that actually through the exception!

rhukster avatar Jun 21 '20 05:06 rhukster

Grav v1.6.26 Screen Shot 2020-06-21 at 05 40 18-fullpage

kromonos avatar Jun 21 '20 05:06 kromonos

Ah ok. The one plugin you don’t have is login and I guess theres no check on that. For now you can install login plugin and just not configure it. I’ll add a check soon so that it won’t be required.

rhukster avatar Jun 21 '20 06:06 rhukster

Perfect :)

EDIT: After installing login, everything works again as expected.

kromonos avatar Jun 21 '20 06:06 kromonos