Skip to content
Grav 2.0 is officially stable. Read the announcement →
Installation & Hosting

Fortune plugin get error

first-time plugins

Started by Hellen 6 years ago · 0 replies · 627 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 antoinep, 3 weeks ago
8 366 3 weeks ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 225 7 months ago
Installation & Hosting · by rappluk, 9 months ago
0 256 9 months ago
Installation & Hosting · by N, 1 year ago
3 222 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 160 1 year ago