Title: deprecated function use in functions.php using Graphene theme
Last modified: May 2, 2024

---

# deprecated function use in functions.php using Graphene theme

 *  [surruk51](https://wordpress.org/support/users/surruk51/)
 * (@surruk51)
 * [2 years ago](https://wordpress.org/support/topic/deprecated-function-use-in-functions-php-using-graphene-theme/)
 * When in admin, graphene theme, reports deprecation warnings on two lines. In 
   both cases, because null is passed where a string is expected. I fixed both (
   for now) by casting the variable to string.
 * Line 2187: $path = str_replace( ‘\\’, ‘/’, (string) $path );
 * Line 7288: $scheme_separator = strpos( (string)$path, ‘://’ );
 * Hope these get added to the core soon.

The topic ‘deprecated function use in functions.php using Graphene theme’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/graphene/2.9.4/screenshot.jpg)
 * Graphene
 * [Support Threads](https://wordpress.org/support/theme/graphene/)
 * [Active Topics](https://wordpress.org/support/theme/graphene/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/graphene/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/graphene/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [surruk51](https://wordpress.org/support/users/surruk51/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/deprecated-function-use-in-functions-php-using-graphene-theme/)
 * Status: not resolved