Title: PHP Syntax Check error
Last modified: May 21, 2018

---

# PHP Syntax Check error

 *  [aronce](https://wordpress.org/support/users/aronce/)
 * (@aronce)
 * [8 years ago](https://wordpress.org/support/topic/php-syntax-check-error/)
 * Hello,
    When I am trying to modify a PHP file of my child theme, I get a PHP 
   error syntax. To find a possible origin of me problem, I’ve tried the following
   things: Checking PHP Syntax Check on style.css : OK Checking PHP Syntax Check
   on footer.php (original file) : “Syntax check failed. Error:” It is not true 
   because it is the original file with no error Checking with Twenty Seventeen 
   Native theme : Same thing So, for me, this plugin is not functional. (for information
   PHP Version 7.2.2) Best Regards AR

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

 *  Thread Starter [aronce](https://wordpress.org/support/users/aronce/)
 * (@aronce)
 * [8 years ago](https://wordpress.org/support/topic/php-syntax-check-error/#post-10308846)
 * Hello
    Test with PHP version 5.5.15 : I found the same problem
 *  Thread Starter [aronce](https://wordpress.org/support/users/aronce/)
 * (@aronce)
 * [8 years ago](https://wordpress.org/support/topic/php-syntax-check-error/#post-10319644)
 * Hi,
    Here are additionnal elements to help : 1) I am using XAMPP, so a local 
   site on a PC with Windows. 2) On a MAC with OSX there is no problem, testing 
   PHP is OK So, it seems that (may be) the problem is with the CharSet (or something
   close). Perhaps the problem is not present with a Linux Server bus I don’t want
   to take risks with an online website. Best Regards, AR

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

The topic ‘PHP Syntax Check error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/orbisius-child-theme-creator.svg)
 * [Child Theme Creator by Orbisius](https://wordpress.org/plugins/orbisius-child-theme-creator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/orbisius-child-theme-creator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/orbisius-child-theme-creator/)
 * [Active Topics](https://wordpress.org/support/plugin/orbisius-child-theme-creator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/orbisius-child-theme-creator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/orbisius-child-theme-creator/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [aronce](https://wordpress.org/support/users/aronce/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/php-syntax-check-error/#post-10319644)
 * Status: not resolved