Title: php error
Last modified: November 17, 2017

---

# php error

 *  Resolved [ramisadi](https://wordpress.org/support/users/ramisadi/)
 * (@ramisadi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-error-256/)
 * Hi, I still have the following error message:
 * Use of undefined constant php – assumed ‘php’
 * Location:wp-content/themes/oceanwp-child-theme-master/header.php:25
 * I have reviewed the code there, but can’t see the error.
    here is the line 25:
   <?php// wp_nav_menu( array( ‘theme_location’ => ‘main_menu’ ) ); ?>
 * Can you help me with it?

Viewing 1 replies (of 1 total)

 *  Thread Starter [ramisadi](https://wordpress.org/support/users/ramisadi/)
 * (@ramisadi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-error-256/#post-9692982)
 * Solved.
    It just needed a space after php.
    -  This reply was modified 8 years, 6 months ago by [ramisadi](https://wordpress.org/support/users/ramisadi/).

Viewing 1 replies (of 1 total)

The topic ‘php error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/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/)

 * 1 reply
 * 1 participant
 * Last reply from: [ramisadi](https://wordpress.org/support/users/ramisadi/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php-error-256/#post-9692982)
 * Status: resolved