PHP Warning: Undefined array key 0 in ... plugins/cornerstone/includes/classes/styling/class-font-manager.php on line 196

I moved our preschool website from Bluehost to Dreamhost and now I’m getting this error message on the frontend: PHP Warning: Undefined array key 0 in /home/dh_42ph27/ on line 196

I do not code so I do not know what I need to do to resolve this issue. Please help. Thank You.

Hello @pks,

Thanks for writing to us.

It might be the issue of version compatibility issue I would suggest you please make sure your theme, plugin, WordPress core, and the PHP version are updated. Please note your server PHP version needs to be 7.4 or 7.4+ as per our version compatibility page.

It is also recommended by the WordPress as well please have a look at this article

In case it doesn’t work for you I would suggest you troubleshoot a few of the common issues before we investigate your settings.

  1. Testing For Theme Related Issue
  2. Testing For Plugin Conflict
  3. Theme Update
  4. Child Theme
  5. Css/Js Customization
  6. Increasing Php Memory Limit
  7. Disabling Cache
  8. Disabling Cdn
  9. Permalinks
  10. Version Compatibility

If none of those work, It would be best if you could copy your live website to your staging area. and send your details in a secure note so that we can investigate your setting without breaking your live site. Please provide the following details

  • WordPress Login URL
  • Admin level username and password
  • FTP Details

You can find the Secure Note button at the bottom of your posts


Awesome, it worked. It was the PHP version. It was set to 8. Thanks for the great and super fast support.

Hey Nadja,

Great and you’re welcome! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.