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

New theme using CLI commands

Started by Muut Archive 10 years ago · 3 replies · 418 views
10 years ago

When i`am create a new theme with the command:

BASH
$ bin/plugin devtools new-theme

After the request "Please choose a template type" a message appears:
PHP Notice: Undefined variable: output in ... /vendor/symfony/console/Helper/QuestionHelper.php on line 447
PHP Notice: Undefined variable: exitcode in ... /vendor/symfony/console/Helper/QuestionHelper.php on line 447
PHP Warning: exec() has been disabled for security reasons in ... /vendor/symfony/console/Helper/QuestionHelper.php on line 447
PHP Notice: Undefined variable: exitcode in ... /vendor/symfony/console/Helper/QuestionHelper.php on line 449
What could be the problem?

10 years ago

I can't replicate the problem. Which version of the plugin/grav you're using? Latest available?

10 years ago

Me either, but seems your hosting provider has disabled exec() in PHP, probably for security reasons.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago