Title: Error in functions.php
Last modified: June 24, 2017

---

# Error in functions.php

 *  [affinipayudev](https://wordpress.org/support/users/affinipayudev/)
 * (@affinipayudev)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-in-functions-php/)
 * The following line in functions.php contains an error in the resource path:
 * `add_editor_style( array( 'editor-style.css', scrawl_fonts_url(), get_template_directory_uri().'/
   genericons/genericons.css' ) );`
 * The path should include the fonts directory like so:
 * `add_editor_style( array( 'editor-style.css', scrawl_fonts_url(), get_template_directory_uri().'/
   fonts/genericons/genericons.css' ) );`
 * Without the fonts directory as part of the path finding “genericons.css” fails
   and an error is presented every time the user attempts to edit an existing post.

Viewing 1 replies (of 1 total)

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-in-functions-php/#post-9263514)
 * Thanks for the heads-up on the incorrect path – we’ll get it fixed up in the 
   next version of Scrawl.
 * I wasn’t able to replicate the error on editing an existing post, but this should
   still be fixed. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Error in functions.php’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-in-functions-php/#post-9263514)
 * Status: not resolved