View Single Post
  #7  
Old 07-16-2018, 03:47 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Extending Tags Module without Breaking Search

Hi @xgarb,

I tried the same solution on my X-Cart and it worked out properly. However, this error might be caused by the fact that MySQL query is too heavy and Doctrine cannot handle it properly on your server.

When you received this Allowed memory size of 268435456 bytes exhausted error, were there any hints about what might be causing it? Maybe some backtrace?

Tony

Quote:
Originally Posted by xgarb
That change gives me a 500 error with Allowed memory size of 268435456 bytes exhausted in the log.

I think it's something to do with this in my Product Repo..

$this->addTranslationJoins($result, 't', 'tt', $this->getTranslationCode());

and the same code in the prepareCndSubstring() method of the X-cart Tags module.

Due to both extending \XLite\Model\Repo\Product maybe.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote