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 →

Fortune plugin get error

first-time plugins

Started by Hellen 7 years ago · 0 replies · 871 views
7 years ago

hi there.
i'm using fortune plugin in order to display random quote into page. I install, set configuration, create quotes file and put {{fortune}} globen variable on my page, but i get an error. Whatever page i open, i get this error.
Debug infos:
\grav-admin\user\plugins\fortune\vendor\fortune.php
on this line
return $this->getRandomQuote($dir .$files[$i]);
saying: "Undefined variable: quotes"
Anyone can helpme? what is missing?

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by vollstock, 4 days ago
3 97 4 days ago
Installation & Hosting · by David, 7 years ago
3 3395 2 weeks ago
Installation & Hosting · by David Meissner, 3 weeks ago
3 248 2 weeks ago
Installation & Hosting · by David Meissner, 3 weeks ago
0 172 3 weeks ago
Installation & Hosting · by Anthony J Cervo, 4 weeks ago
3 237 3 weeks ago