Wilde Times

Arts and Literature Newsletter

One liners and an &.

without comments

 

 

Hello, loyal readers (All three of you are very special to me.), I’m writing with another SHOPP for WordPress problem and fix to pass along to your friends.  After applying the fix I wrote about in my last post, users may have noticed an array of error messages preceding almost everything in the store.  All you have to do is change two tiny things, and the problem will be remedied.

First open the error.php file referenced in the error.  Follow the trail.  Then find lines 135 and 148-156.  Inert a new line 156 and write this: return $error;

Then go to line 236 which reads as follows:

call_user_func_array($callback,$args);

Now add an ampersand, like so:

call_user_func_array($callback,&$args);

Boom.  Fixed.  Hope that helps; pass it along!

Written by Alex Kaulfuss

January 29th, 2013 at 3:31 pm

Posted in Tech Stuff

If you don't see the WildeTimes menu to the left click here.