You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helpers::keyExists
$haystack can be passed as empty, causes in_array function to throw exception
UserRepository::isFavorite
$favorites can be empty, causes in_array function to throw exception
SyncSingleFavorite::addFavorite
$favorites[$key]['posts'][] = $this->post_id; causes the following error:
Fatal error: [] operator not supported for strings
I believe the issue here is that the $favorites[$key]['posts'] array is not initialized
Issue also occurs lower down at $favorites[$key]['groups'][$group_key]['posts']
The text was updated successfully, but these errors were encountered:
Succinct list of issues found so far as follows:
Helpers::keyExists
$haystack can be passed as empty, causes in_array function to throw exception
UserRepository::isFavorite
$favorites can be empty, causes in_array function to throw exception
SyncSingleFavorite::addFavorite
$favorites[$key]['posts'][] = $this->post_id; causes the following error:
Fatal error: [] operator not supported for strings
I believe the issue here is that the $favorites[$key]['posts'] array is not initialized
Issue also occurs lower down at $favorites[$key]['groups'][$group_key]['posts']
The text was updated successfully, but these errors were encountered: