croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

ee()->TMPL->log_item() causing exception #154

Closed emrysr closed 2 years ago

emrysr commented 7 years ago

Hi,

Not sure if this an issue with your addon or with solspace's user addon..?

I'm using EE 3.5.4, Solspace User 4.0.9 and Stash 3.0.5

I've had to comment out line 537 in ext.stash.php in v3.0.5:-

537:

  ee()->TMPL->log_item("Stash: batch processing queued queries");

The exception stops solspace's user plugin from sending out user invite emails ( tag:{exp:user:key} ).

Is the _ee()->TMPL->logitem() required? it seems to work fine without it?

Here's a screenshot of the exception shown: user-vs-stash-addon-exception

I've not added an issue here before... please delete this if it's not relevant.

PS. Love this plugin.. I couldn't work without it. Thank you for your awesome addon 👍

croxton commented 7 years ago

Dupe of #137

This is (apparently) fixed in the latest version of Solspace User. Can you verify?

emrysr commented 7 years ago

I've already got 4.0.9 - only just updated. I'll keep an eye out for future updates. Thanks.

mrpatricko commented 3 years ago

Can confirm that this issue is still occurring with EE 6.1.5, Stash 3.1.0, and User 5.4.0.

mrpatricko commented 3 years ago

User 5.4.1 was recently released and it addresses this issue. ( Thank you, Robin! :) )

"Changed a library call name to increase compatibility with the Stash add-on."

https://eeharbor.com/user/changelog