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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Fortune plugin get error

first-time plugins

Started by Hellen 6 years ago · 0 replies · 581 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, 17 hours ago
5 63 11 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 64 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 63 1 year ago