Comments (5)
@loganfreeman I also have this issue. It seems to appear only in production environments for me. the plugin works fine in localhost development though in production it fails
@kalebheitzman I would take a look at how other plugins call grav and it's config
from grav-plugin-datetools.
@Vivalldi are there any plugins you would recommend specifically that I look at? Thanks.
from grav-plugin-datetools.
So the grav object is a protected attribute of the plugin class. So in the login plugin it calls $this->grav['config']
which calls the config container
from grav-plugin-datetools.
I have just installed datetools as it was required by the event plugin. Then on loading my site after the install it appears i also have a similar issue
Access to undeclared static property: Grav\Plugin\DateTools::$grav
It seems to throw the error at the following point in the datetools.php
$this->config = self::$grav['config'];
I can set enabled: false
in the .yaml file and my site works again .
Perhaps i should have opened another thread for this issue. if so let me know and i will create a new one.
regards jimmy
from grav-plugin-datetools.
This is fixed with v1.0.3. Pushing the release today.
from grav-plugin-datetools.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-plugin-datetools.