PHP Fatal error with cart page since updating theme

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Feb 15, 2016 11:02 pm
Reply with quote
Report this post
Hi, I updated the template theme to the latest Storebox template recently and have found there are some major problems with it that I hope you can resolve asap.

1. After adding an item to the cart, there is no notice to say an item has been added to the cart even though it has and I'm sure the old template had notices.

2. If you click the cart circular icon on the top right it brings up the pop up showing the items in the cart, if you click the 'show cart' button in the pop up it takes you to a messed up page with no css styling and no buttons except a 'continue shopping' button. It seems to be impossible to 'check out' and buy anything. Please see the error code below.

Code: Select all
[15-Feb-2016 21:33:22 UTC] PHP Fatal error: Call to undefined method shopFunctionsF::getTaxNameWithValue() in /home/ukloupes/public_html/templates/gk_storebox/html/com_virtuemart/cart/default_pricelist.php on line 20
[15-Feb-2016 21:39:02 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/ukloupes/public_html/libraries/loader.php on line 641
[15-Feb-2016 21:39:02 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/ukloupes/public_html/libraries/loader.php on line 641
[15-Feb-2016 21:39:15 UTC] PHP Fatal error: Call to undefined method shopFunctionsF::getTaxNameWithValue() in /home/ukloupes/public_html/templates/gk_storebox/html/com_virtuemart/cart/default_pricelist.php on line 20


Please can you look in to this asap as my client is losing sales.

Also please see my other ticket from a couple of weeks ago about another issue which has not been answered yet.

Thanks!
User avatar
Senior Boarder

GK User
Tue Feb 16, 2016 2:09 pm
Reply with quote
Report this post
This is an update to my own ticket to say that the fatal errors are solved by updating the virtuemart component, however since updating the component there is now this error on the checkout page that says "thank you for your order"

Warning: preg_match() expects parameter 2 to be string, array given in ... public_html/libraries/loader.php on line 641

I have the latest version of Joomla, storebox, virtuemart and components.

Please can you look into this error asap. Thanks
User avatar
Senior Boarder

teitbite
Sun Feb 21, 2016 1:54 pm
Reply with quote
Report this post
Hi

First of all please tell me the url to the unanswered thread. I'll see why I do not have it on my list.

The notice You have is a warning, not an actual error message, so You may try to set error showing level to none in global joomla configuration. You may also try disable an override to VM from our template /html/com_virtuemart/cart/default.php has to be renamed to /html/com_virtuemart/cart/_default.php to do that.
User avatar
Moderator

GK User
Fri Mar 11, 2016 12:14 am
Reply with quote
Report this post
Thanks for your reply, but these warnings are there for a good reason.

Are they warning about a problem with the template coding?
User avatar
Senior Boarder

GK User
Fri Mar 11, 2016 12:18 am
Reply with quote
Report this post
I've also tried changing the error setting to none in global configuration but it stills shows the error.
User avatar
Senior Boarder

GK User
Fri Mar 11, 2016 12:22 am
Reply with quote
Report this post
I've investigated this further and notice the problem in admin too when trying to edit/delete VM ratings/reviews.

If I click the date next to the review in admin it opens up a list of people who have reviewed and rated, now if i check one of the boxes next to a review and press edit I get:

Warning: preg_match() expects parameter 2 to be string, array given in /home/ukloupes/public_html/libraries/loader.php on line 641

There seems to be many problems with this template, I look forward to hearing from you and hope they can be resolved quickly.
User avatar
Senior Boarder

teitbite
Wed Mar 16, 2016 10:51 am
Reply with quote
Report this post
Hi

If the error is pointing out a file /home/ukloupes/public_html/libraries/loader.php than it's not a template file, but joomla. I believe this may be becuase of a wrong PHP version used on server. Try using 5.5.x since it's the version most of the joomla code was created with.

Try also reinstall joomla. Problem can be because of some broken files as well.

As a last test please switch template to a joomla default one to see if issues happen than too. If yes than You may need to contact joomla support or compare Your server settings with joomla installation requirements.
User avatar
Moderator


cron