Server Error 500

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #86897

The bug has been corrected on our end, and it will be in the next release.
It was a check missing in the class "cart", function "get".

Last edit: 11 years 3 months ago by Xavier.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #89202

I just loaded v 2.1. everything seemed to go ok. In the backend under update/about it still shows version 2.0. And when I try to use the wishlist I get an error. "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."

In debug mode it shows "Fatal error: Call to a member function get() on a non-object in /home/hmkenl/htdocs/components/com_hikashop/views/cart/view.html.php on line 282"

We really need this feature to work. Any ideas?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #89369

Hi,

Is your line 282 corresponding to:

			if (is_object( $menu )) {
				$cart_type = $menu->params->get('cart_type');
			}
The get should be done only if "$menu" is an object. If you have that, try to replace "$menu" by "$menu->params" in the if condition.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum