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 · 795 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 653 2 weeks ago
Installation & Hosting · by jeremycherfas, 4 weeks ago
1 318 4 weeks ago
Installation & Hosting · by antoinep, 4 months ago
8 1141 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 782 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 818 12 months ago