News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Smiley Errors After Deleting

Started by TwitchisMental, August 22, 2023, 05:02:13 PM

Previous topic - Next topic

TwitchisMental

So I was adding a new custom smiley set and deleted all of the others ones eg the Fugue's Set and Alienine Set.  I kept only the custom ones.
Edit: The smileys are still on the server just the sets smileys are removed in the edit smiley section.

Got my new set setup and then I noticed I was getting some errors.

/*****/****/****/Themes/default/ManageSmileys.template.php (Line 228)
Backtrace information
2: Trying to access array offset on value of type null

/****/*****/****/Themes/default/ManageSmileys.template.php (Line 228)
Backtrace information
2: Undefined array key "smiley"

/****/******/*****/Sources/ManageSmileys.php (Line 918)
: Trying to access array offset on value of type null

I have tried running a large upgrade and that did not resolve the issue.

This happens whenever I try to add/delete/ or do anything with the smileys.

Now the custom smileys still display and all, I just get a couple of the above errors when I go to add or edit avatars in the ACP.

Edit :

Alright problem was solved by reimporting the smileys.   However that leads to a question... should I be getting those errors by simply removing the default smiley sets?

Advertisement: