Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog power up installation errors #48

Open
zackAJ opened this issue Sep 13, 2024 · 1 comment
Open

blog power up installation errors #48

zackAJ opened this issue Sep 13, 2024 · 1 comment

Comments

@zackAJ
Copy link

zackAJ commented Sep 13, 2024

as I install the blog power-up, I get model Post not found error.
I guess the installation is lacking some steps to create the Post model, Factory and migration... ? or I am missing a step ?

the error message:

call_user_func(): Argument #1 ($callback) must be a valid callback, class "App\Models\Post" not found
resources/views/pages/genesis/power-ups.blade.php :69

line that fails:
call_user_func("{$model}::factory", $count)->create();

@RodrigoBaltazar
Copy link

Hello, it happens because the core aplication do not come with the power-up pre built and the instalation button do not download from the github page.

you can go to https://github.com/thedevdojo/blog and copy the code. If you copy the files and code to the correct places, it will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants