artfulrobot / activitytabs

A CiviCRM extension to provide views on selected activities
Other
5 stars 0 forks source link

Generating lots of Notices in the dblogs #20

Open yorkshirerose opened 2 years ago

yorkshirerose commented 2 years ago

Running on Drupal 7.87 and CiviCRM 5.46.2, I tried to run this but it caused issues after about 24 hours. When testing on my dev site, it generated 6.5 pages of 'notices' on the dblogs when I try to add an Activity to a Case. The notices are all very similar, such as:

Notice: Undefined index: moreActions in include() (line 14 of /home/XXXX/public_html/dev/sites/default/files/civicrm/templates_c/en_GB/%%AC/AC0/AC058D45%%Selector.tpl.php)

The site eventually grinds to a halt. Let me know if you need more information or to test in more scenarios.

artfulrobot commented 2 years ago

Have you tried clearing your cache? Files in templates_c are temporary ones built by Civi. There's not much I can tell from errors in there. Are there any other errors not to do with templates_c files?

As far as I'm aware (done a quick search), "moreActions" is not something that activitytabs uses. It could be something core uses and activitytabs is now supposed to supply, perhaps.

Grinds to a halt sounds odd; sounds like an infinte loop or something.

How are you adding an activity to a case? From which screen(s)? How have you concluded it's activitytabs going wrong (I don't think it has anything to do with cases?) I'm a bit confused.