Title: Illegal string offset &#8216;custom_css_post_id&#8217; Error
Last modified: November 23, 2020

---

# Illegal string offset ‘custom_css_post_id’ Error

 *  [lesi2000](https://wordpress.org/support/users/lesi2000/)
 * (@lesi2000)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-custom_css_post_id-error/)
 * I tried to upload my first post to the site. Im using elementror as editor. When
   i uploaded the post the site broke and it said:
 * Warning: Illegal string offset ‘custom_css_post_id’ in /home/lesibgco/public_html/
   eu.leapmatic.com/wp-includes/theme.php on line 1059
 * What i need to do. I find information only how to disble the warnings but not
   how to fix the error in the site.
 * Im waiting for your reply.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fillegal-string-offset-custom_css_post_id-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-custom_css_post_id-error/#post-13702313)
 * Hi,
 * Please let us know what is the version of your theme and PHP.
 * If possible go to Elementor > System Info and copy/paste the report back to us
   so that we can take a look?
 *  Thread Starter [lesi2000](https://wordpress.org/support/users/lesi2000/)
 * (@lesi2000)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-custom_css_post_id-error/#post-13711803)
 * Its fixed now. i updated to the new WordPress 🙂
 * Thanks!
    Stau safe!
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-custom_css_post_id-error/#post-13721483)
 * Glad to hear that the issue has been fixed!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Illegal string offset ‘custom_css_post_id’ Error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-custom_css_post_id-error/#post-13721483)
 * Status: not resolved