Thanks for the quick answer, i'll give it a try and see what it does! :) On 8 Juli, 15:49, 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/b107... > > > > 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 > > athttp://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
