MiniK2 Module loading problem on my portfolio page
- Posted by Umair (3) Offline
I have installed MiniK2 module but the page doesn't load. It shows some errors. I have provided you the admin access. The portfolio page link is given below:
dezigneronline.net/dev/index.php/portfolio.html
Right now the development mode is turned on. I resolved all of these issue on my localhost except
Strict Standards: Non-static method modMiniK2Helper::getCategories() should not be called statically in /home/dezigner/public_html/dev/modules/mod_minik2/mod_minik2.php on line 198
But couldn't get the solution yet.
P.S.
I first tried to install TZ Portfolio on the same site but it didn't work too and showed following errors in google chrome inspector:
Uncaught SyntaxError: Unexpected token
Uncaught SyntaxError: Unexpected end of input
TZ portfolio worked well in another website but its not working on my website. After spending couple of days on TZ Portfolio, I started working on MiniK2. Now I am facing some other issues
So, I think there is a script that is conflicting with MiniK2.
Waiting for your reply.
11 years 5 months ago #1
by Umair
dezigneronline.net/dev/index.php/portfolio.html
Right now the development mode is turned on. I resolved all of these issue on my localhost except
Strict Standards: Non-static method modMiniK2Helper::getCategories() should not be called statically in /home/dezigner/public_html/dev/modules/mod_minik2/mod_minik2.php on line 198
But couldn't get the solution yet.
P.S.
I first tried to install TZ Portfolio on the same site but it didn't work too and showed following errors in google chrome inspector:
Uncaught SyntaxError: Unexpected token
Uncaught SyntaxError: Unexpected end of input
TZ portfolio worked well in another website but its not working on my website. After spending couple of days on TZ Portfolio, I started working on MiniK2. Now I am facing some other issues
So, I think there is a script that is conflicting with MiniK2.
Waiting for your reply.
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Ok can you try to edit this file /modules/mod_minik2/helper.php
at line 580 please change it to
save it and see if the error is gone.
11 years 5 months ago #2
by erwinschro
at line 580 please change it to
public static function getCategories(&$params)
save it and see if the error is gone.
Please Log in or Create an account to join the conversation.
- Posted by Umair (3) Offline
Thanks for your reply.
I found following code at line 1159 in helper.php instead of line 580 (please find the attached screenshot).
function getCategories(&$params)
and change it to
public static function getCategories(&$params)
But page is still not loading.
11 years 5 months ago #3
by Umair
I found following code at line 1159 in helper.php instead of line 580 (please find the attached screenshot).
function getCategories(&$params)
and change it to
public static function getCategories(&$params)
But page is still not loading.
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Mmm it looks to me your K2 is a bit old....can you please upgrade it first to the 2.6.x version...and see if that helps
11 years 5 months ago #4
by erwinschro
Please Log in or Create an account to join the conversation.
- Posted by Umair (3) Offline
Wow.
It works perfectly after upgrading K2
Awesome
Thanks very much.
11 years 5 months ago #5
by Umair
It works perfectly after upgrading K2
Awesome
Thanks very much.
Please Log in or Create an account to join the conversation.