Data hooks don't seem to work anymore

Hello, I observed that my data hooks have stopped executing code,I have several hooks attached to several collections which is meant to change information beforeInserts, beforeUpdate and afterQuery, but none of the expected execution occurs. It is strange because all the hooks had been working previously and were all tested, but then they have stopped working suddenly, Please can anyone kindly help with this situation - its rather urgent.
below is what my data.js code looks like. thanks in advance

import {normalizeIrregularText,filterableFields,
prepareFiltersID, prepareKeyAndValue,
prepareArtDimensions} from 'public/util.js';

export function faac_art_beforeInsert(item, context) {
	//TODO: write your code here for mainly csv imports...
	if(!item.filters){		
	const filters = filterableFields.map((field)=>{
		const {key,value}=prepareKeyAndValue(field,item)
		const _id = prepareFiltersID(key,value)
		return (value)?{_id,key,value}:null;
	});
	item.isPublished=true;
	item.showDetail=true;
	item.filters = JSON.stringify(filters.filter(item=>item!==null));
	}
	return item;
}
export function faac_tag_beforeInsert(item, context) {
	//TODO: write your code here...
	item.name = item.title && normalizeIrregularText(item.title);
	return item;
}
export function faac_category_beforeInsert(item, context) {
	//TODO: write your code here...
	item.name = item.title && normalizeIrregularText(item.title);
	return item;
}
export function faac_tag_beforeUpdate(item, context) {
	//TODO: write your code here...
	item.name = item.title && normalizeIrregularText(item.title)+'--'+item.category.name;;
	return item;
}
export function faac_category_beforeUpdate(item, context) {
	//TODO: write your code here...
	item.name = item.title && normalizeIrregularText(item.title);
	return item;
}
export function faac_art_afterQuery(item, context) {
	//TODO: write your code here...
	if(item.dimensions && item.filters){
		item.filters = item.filters.replace('[',prepareArtDimensions(item.dimensions));
	}
	return item;
}

Did you resolve your issue? My hooks don’t seem to be working either. Hoping it’s user error, but I can’t see the issue with the code.

Hi Ronald,
Can you please share the link to your site (either the site URL or the editor URL)?
I’ll try to help debug the issue.

Hi Tommer,
Thanks but I have resolved the issue, I discovered that my function normalizeIrregularText had a bug - it was failing for null/empty values, because I had not done a nullCheck constraint in the implementation. Thanks once again for the offer and cheers.

That’s great to hear! Thanks!

Yes I have started to see this problem (of a hook not firing on _beforeInsert) just in the last few days. This must be a bug? Or is it something I am doing wrong?

Here is the code in the data hook. Works fine in Preview; does not work on the live site.

export function TestDates_beforeInsert(item, context) {
    item.testDate = new Date()
 return item;
}

I have the same issue. Within the last two weeks data hooks have stopped firing on insert. It has compromised my live site. When can we rely on data hooks again?

Can you please provide a link to your site?
I can’t reproduce a problem in my own site.

@tomer-wix Here is my forum post which contains a link to the malfunctioning site

https://www.wix.com/code/home/forum/community-discussion/data-hook-not-working-on-live-site-but-working-ok-in-preview

@tomer-wix peterjanderson6724.wixsite.com/website-1