Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Devtools - newplugin error

Started by Muut Archive 10 years ago · 4 replies · 331 views
10 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?

10 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.

10 years ago

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

10 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 Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago