Warning: undefined array “slug”
-
Hi,
I’ve just bumped into a problem I never had before. I’m using the LeanCV theme on a website I’m working on locally (mac). I first disabled the webfonts of the theme because they’re all active, and they’re a lot. All worked fine. I then installed Yabe Webfonts to use it with a typeface from Adobe and a custom uploaded webfont too. I activate Yabe webfonts, and that’s fine, but as soon as I set a webfont (Adobe or the custom uploaded one), WordPress shows me a warning. Two, in fact:
Warning: Undefined array key “slug” in /Users/xxxxx/Local Sites/xxxxx/app/public/wp-includes/class-wp-theme-json.php on line 2101
Warning: Undefined array key “slug” in /Users/xxxxx/Local Sites/xxxxx/app/public/w-includes/class-wp-theme-json.php on line 2147The warnings don’t show if Yabe is installed and active, but without active webfonts. They show as soon as I activate a font. And if I disable Yabe webfonts, warnings disappear. I tried to set php.ini so that it should not show any warnings (as per what a friend of me that’s a dev told me), but it doesn’t work. I’ve tried this because apart from being there, warnings don’t break anything so not showing them should fix my problem. Anyway, no success.
Never had this problem before with Yabe, but since I’m not a coder/developer I don’t know how to solve this in a different way.
Thanks!
- You must be logged in to reply to this topic.