Warning: in_array() expects parameter 2 to be array, null given in simpleads_preprocess_block()

Created on 17 October 2021, about 3 years ago
Updated 9 June 2023, over 1 year ago

Using SimpleAds 8.x-1.4 premium version. It throw alot of notices in logs. like
1. Warning: in_array() expects parameter 2 to be array, null given in simpleads_preprocess_block()
2. Notice: Undefined index: class in simpleads_preprocess_block

Which can be resolved through the patch attached.

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan noman_297

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024