Whooops. Looks like something's gone wrong with the pkging of the trunk download as this has been rectified in trunk, though the download seems to still have this issue (think it may have something to do with the invalid 0.7 branch).
I'll fix this now and at the same time make this fix in the 0.6.x branch. On Thu, Jul 8, 2010 at 2:49 PM, Philip Buckley <[email protected]>wrote: > I had the same problem. I solved it by changing 2 lines in the plugin code. > > The original lines are: > public function filter_theme_act_display_home( $handled, &$theme ) > public function filter_theme_act_display_blog_home( $handled, > &$theme ) > In both lines I removed the ampersand before "$theme", so the lines > read: > public function filter_theme_act_display_home( $handled, $theme ) > public function filter_theme_act_display_blog_home( $handled, $theme > ) > Colin Seymour identified the problem as being caused by how PHP handles > referencing (which has changed). The discussion we had about it is here: > > < > http://groups.google.com/group/habari-users/browse_thread/thread/b107f36763f39da0# > > > > Hope that helps > > Philip > > > This is the link to the thread > > On 8 Jul 2010, at 14:34, eternal243 wrote: > > Hello, when browsing the plugin directory i found the "staticfront" >> plugin and realized that it was one of the plugins i want to use on my >> new website, but after trying it out it seems to be broken. I have >> tried both the 0.6 branch and the trunk branch of the plugin. >> >> The 0.6 version didn't work on either 0.6.2 or on 0.6.4 version of >> habari core, the plugin had some fault that made it impossible to load >> from the admin control panel. The trunk version did load for me using >> Habari 0.7-alpha r4226 but it does not create a static front from my >> selected page as described and when i got to the first page of the >> blog i get the following error message: >> >> Warning: Parameter 2 to StaticFront::filter_theme_act_display_home() >> expected to be a reference, value given in system\classes\plugins.php >> line 104 >> >> My coding skills are a bit limited and I don't really understand whats >> going on, i'm going to try to look into it a bit more and see if i can >> solve it, but i have a feeling that someone might know exactly how to >> get it working so thats why i'm starting this thread. Any help would >> be greatly appreciated. >> >> I'm using the k2 theme with some minor tweaks atm. >> >> -- >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/habari-users >> > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-users > -- Colin Seymour Blog: http://colinseymour.co.uk Tech Stuff: http://lildude.co.uk Barefoot Running: http://barefootrunner.co.uk IRC: lildude #habari -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
