Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Devtools - newplugin error

Started by Muut Archive 11 years ago · 4 replies · 476 views
11 years ago

command: bin/plugin devtools newplugin

yields:

PHP Fatal error: Cannot redeclare static Grav\Console\ConsoleCommand::$grav as non static Grav\Plugin\Console\DevToolsCommand::$grav in plugins://devtools/cli/../classes/DevToolsCommand.php on line 19

ideas?

11 years ago

Is this Beta 3 of Grav v1.1? The DateTools plugin has the same error in that version as compared to 1.0.10.

11 years ago

It might be worthy of an issue on getgrav/grav - at least since it appears to affect multiple plugins at this point.

11 years ago

I've fixed this in v1.0.1 which should be available soon. Was working fine in Grav 1.1 beta, but hadn't realized there was a problem with Grav 1.0

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 676 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago