Re: Error Reporting (General)
Posted: Sun Jan 18, 2026 12:15 am
Font's erroring out here? This was after I took my update pulls but didn't notice if it was on any other pages! link
★ a tcg for idol game art
https://sparkling.milkbaeri.net/forums/
It's not intentional, however I am still looking into this error since it seems the counts are showing up correctly in the account overview for the player themselves, but if you visit someone else's profile then it's showing as 0 no matter what. I used the same code for both the account over and profile so maybe that's where the issue is but I'm not sure how to fix it yet so I may have to remove it or ignore it for the time being!argh wrote: ↑Fri Jan 16, 2026 6:09 pm I have this weird error... it's not really on my profile but in my account I guess? If I look at the other members profiles they show as having 0 masteries even if they have masteries. Or is this intentional?
I will link Mio's profile screencaps for reference. But every player has 0 masteries for me. Whether I am logged in or not?
https://imgur.com/a/RjF1A0Z
It looks like someone submitted their donation twice and I forgot to delete the duplicate series name when I was editing other submissions the other day, which pushed all the other donations' series names into the card number submitted that came after it - but should be fixed now!
This is just because the font I use for that header doesn't support numbers, and I forgot to change it to a different font or move it to a different header but I will fix that later!
Code: Select all
Fatal error: Uncaught TypeError: str_repeat(): Argument #2 ($times) must be of type int, string given in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php:127 Stack trace: #0 /home/dh_58miur/sparkling.milkbaeri.net/rewards.php(127): str_repeat(', ribbon', '') #1 {main} thrown in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php on line 127Could you let me know which deck it was you tried donating (both the original and edited version), and whether the reward still displayed and/or saved to your site logs? Or did it only show the rewards but not the log and thus didn't save anything? Or something else?Joey wrote: ↑Sun Jan 18, 2026 10:44 pm When claiming a donated deck reward (I edited the deck because I misspelled something, so that might have been the trigger in the databse? the other rewards came in fine)Code: Select all
Fatal error: Uncaught TypeError: str_repeat(): Argument #2 ($times) must be of type int, string given in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php:127 Stack trace: #0 /home/dh_58miur/sparkling.milkbaeri.net/rewards.php(127): str_repeat(', ribbon', '') #1 {main} thrown in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php on line 127
The cards didn't load but the text loaded for the log, and it logged fine. I BELIEVE it was reitogetsu-happyparfait, the typo was in the description (card number)Cassidy wrote: ↑Sun Jan 18, 2026 11:09 pmCould you let me know which deck it was you tried donating (both the original and edited version), and whether the reward still displayed and/or saved to your site logs? Or did it only show the rewards but not the log and thus didn't save anything? Or something else?Joey wrote: ↑Sun Jan 18, 2026 10:44 pm When claiming a donated deck reward (I edited the deck because I misspelled something, so that might have been the trigger in the databse? the other rewards came in fine)Code: Select all
Fatal error: Uncaught TypeError: str_repeat(): Argument #2 ($times) must be of type int, string given in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php:127 Stack trace: #0 /home/dh_58miur/sparkling.milkbaeri.net/rewards.php(127): str_repeat(', ribbon', '') #1 {main} thrown in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php on line 127
Since I don't see an unclaimed reward for any deck donations in the database, I can't check myself! I also don't think editing a typo should've affected anything since this error is referring to something to do with the currency AFAIK, but deck donations shouldn't give currency anyways and rewards are sent automatically by the TCG script so there shouldn't have been anything added along the way either (since other deck donation rewards were fine and sending the intended reward) - but if this issue isn't affecting you receiving rewards or having it saved to logs then I don't need to prioritize it right away and can take my time looking into it LOL
Thank you for letting me know! I'm so confused about why the images wouldn't load without me being able to inspect/check the page source when it happened and I don't think I've seen this specific error before, but as long as the full reward still saved to your logs and you were able to pick it up then that's what's important!Joey wrote: ↑Sun Jan 18, 2026 11:33 pmThe cards didn't load but the text loaded for the log, and it logged fine. I BELIEVE it was reitogetsu-happyparfait, the typo was in the description (card number)Cassidy wrote: ↑Sun Jan 18, 2026 11:09 pmCould you let me know which deck it was you tried donating (both the original and edited version), and whether the reward still displayed and/or saved to your site logs? Or did it only show the rewards but not the log and thus didn't save anything? Or something else?Joey wrote: ↑Sun Jan 18, 2026 10:44 pm When claiming a donated deck reward (I edited the deck because I misspelled something, so that might have been the trigger in the databse? the other rewards came in fine)Code: Select all
Fatal error: Uncaught TypeError: str_repeat(): Argument #2 ($times) must be of type int, string given in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php:127 Stack trace: #0 /home/dh_58miur/sparkling.milkbaeri.net/rewards.php(127): str_repeat(', ribbon', '') #1 {main} thrown in /home/dh_58miur/sparkling.milkbaeri.net/rewards.php on line 127
Since I don't see an unclaimed reward for any deck donations in the database, I can't check myself! I also don't think editing a typo should've affected anything since this error is referring to something to do with the currency AFAIK, but deck donations shouldn't give currency anyways and rewards are sent automatically by the TCG script so there shouldn't have been anything added along the way either (since other deck donation rewards were fine and sending the intended reward) - but if this issue isn't affecting you receiving rewards or having it saved to logs then I don't need to prioritize it right away and can take my time looking into it LOL
I believe this should be fixed (I hope anyways)! Can you try grabbing the reward again and let me know if it goes through or not? I forgot to set no choice cards for this game so I think the code thought there was supposed to be one since nothing was specified at all!
I did have a hunch that this was the reason why! Since I had asked mio and she told me it shows up correct for her so I assumed I needed a different code - I just couldn't figure out what that code was yet :') Thank you for the insight though! I'm glad my hunch might've been correct so I can at least be more certain of what direction I should go in to resolve this, if I don't just remove it altogether LOLNoelle wrote: ↑Mon Jan 19, 2026 5:30 pm Adding on slightly to the masteries on other players' profiles - if it helps to narrow this down!
I think what's happening is that the site is using the stats of the logged-in account. That is to say, it will show the amount of masteries you have on others' profiles. I have 6 unique masteries and 7 masteries overall, so when I visit someone else's profile those are the numbers that show up. (using mio as an example again, thank you mio)
This is the update: UpdateSamu Wish (2026-01-24 00:00:00): rubykurosawa-starrydream02, rubykurosawa-starrydream04, shizukamogami-poemsyetunwritten01, shizukamogami-poemsyetunwritten07, anonchihaya-lifeinpink02, anonchihaya-lifeinpink03, meiko-spectacularsoiree05, chihayakisaragi-sunlightsnapshot05, meiko-spectacularsoiree06, chihayakisaragi-sunlightsnapshot11, anastasia-celestialaria02