Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Fortune plugin get error

first-time plugins

Started by Hellen 6 years ago · 0 replies · 777 views
6 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 motorambler, 1 month ago
9 587 1 week ago
Installation & Hosting · by jeremycherfas, 3 weeks ago
1 284 3 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 1107 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 751 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 797 11 months ago