PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 1, 2022

[FIXED] Error: "Dashboard" is not a valid value for --theme

 January 01, 2022     cakephp, cakephp-3.0     No comments   

Issue

I have attempted a few times to create my own bake theme following the tutorial here: https://book.cakephp.org/bake/1/en/development.html#creating-a-bake-theme

When I attempt to run my theme, called Dashboard, I get these:

Error: "Dashboard" is not a valid value for --theme. Please use one of "Bake, Migrations, WyriHaximus/TwigView"
Error: "DashboardTheme" is not a valid value for --theme. Please use one of "Bake, Migrations, WyriHaximus/TwigView"

I attempted the following commands:

cake bake all --theme Dashboard clients
cake bake all --theme DashboardTheme clients

My file structure:

enter image description here


Solution

The plugin wasn't loaded, missing statement in bootstrap().



Answered By - TechFanDan
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing