1.0.8.10 Questions / Comments / Concerns

Open to all! Ask other shopowners for help.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.8.10 Questions / Comments / Concerns

Post by ecartz »

cristiangliga wrote: Sun Feb 13, 2022 1:06 am Cannot use empty array elements in arrays in /.../admin/includes/actions/reviews/views/save.php on line 43
Change that line to

Code: Select all

          echo (new Tickable('reviews_rating', ['value' => $i, 'class' => 'form-check-input', 'id' => "rating_$i"], 'radio'))->tick($i == ($rInfo->reviews_rating ?? 5));
For the other error, change line 73 of admin/includes/actions/reviews/views/default.php to

Code: Select all

 WHERE r.reviews_id = %d

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
cristiangliga
Member
Posts: 9
Joined: Tue Feb 09, 2021 7:19 am
Phoenix Version:

Re: 1.0.8.10 Questions / Comments / Concerns

Post by cristiangliga »

Thank you. @ecartz!


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply