ryancramerdesign / BlogProfile

ProcessWire Blog Site Profile
13 stars 2 forks source link

Duplicate renderNav functions in _func.php and blog.inc causing error #4

Open corinroyal opened 9 years ago

corinroyal commented 9 years ago

I just downloaded the latest blog profile (version 1.0.1) to test, and get the following error when loading the home page after a successful installation:

Error: Cannot redeclare renderNav() (previously declared in /mnt/2TB/www/ProcessWire-blog/site/templates/_func.php:26) (line 248 of /mnt/2TB/www/ProcessWire-blog/site/templates/blog.inc)

I checked the indicated files, and deleting either one of the renderNav functions eliminates the error and causes the site to load, although I don't know if everything is working right.

Cheers.