"Warning: array_key_exists() expects…" error
-
Approximately 50% of the time, at the top of any admin page, just below the “WordPress Tool Bar”, I will see the following error written in plain text:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/content/h/u/n/hunterhogan/html/wp-content/plugins/addthis-smart-layers/addthis-smart_layers.php on line 188
It makes me want to cry.
I use smart layers and AddThis Share plugins, but not the follow plugin or the SSI plugin, but I have installed those before. Both of them have been deactivated and deleted.
On the smart layers settings page, it shows the correct ID. To make sure, I changed it to a bogus ID, saved, then changed it back. I also saved it a few times.
On the share page, it shows the ID in two places. It said, “? Valid AddThis Profile ID”, but I revalidated the ID just to make sure and it stills says I am a valid person–or at least that my ID is valid. (I guess I could still be invalid even if I had a valid ID.)
(The home page is served by WP, but not all pages are served by WP. Smart Layers are only on WP-served pages.)
Oh, after this issue started (two days ago?), I started receiving database connection timeouts from WP. I have no idea if the two are related.
- The topic ‘"Warning: array_key_exists() expects…" error’ is closed to new replies.