-
Posts
7 -
Joined
-
Last visited
Posts posted by jmclosas
-
-
As a note, in the Tracy debugger it works but as soon as I make an ajax call there is a duplicate entry.
-
Hello, I have a problem when saving repeater. When I do the following I always have a duplicate entry.
$notification = $user->notifications->getNew();
$notification->messageid = $arr_data['messageid'];
$notification->notificationid = $arr_data['notificationid'];
$notification->users = $arr_data['userid'];
$notification->date = time();
$notification->save();
$user->notifications->add($notification);
$user->save();What am I doing wrong?
Thanks for feedback
-
Have just ugraded to the latest version with PHP 8.16! Went everything smoothly ! Thanks a lot Ryan and the other contributors ! PW is the best CMS !!!
-
4
-
-
Wow, great website ! Congratulations !!🙂
-
1
-
-
Thank you very much for the answers ! 😀
-
hello, I'm pretty new to processwire but what I've done so far is really great! What I do not quite understand yet, how can I make many to many relationships. Thanks for an answer.
Duplicate entry when saving repeater
in General Support
Posted
Sorry, just solved it, I had two consecutive Ajax request, hence the duplicate entries.