How do I debug "unexpected % in php_eval()"?
This error is from php code in a text field.


  Speaking of debugging, errors in eval()’d codes throw up error
  messages that don’t provide much help in identifying or locating the
  error. There’s a good chance you might have to go through your
  database manually to find and fix the error. Such errors might even be
  fatal in certain instances, for example, if the error is in a block
  that is displayed on all pages.


Source: http://valuebound.com/resources/blog/enabling-php-filter-in-drupal-7-core-what-can-go-wrong