Title: [Plugin: Codestyling Localization] PHP Warning on version 1.99.15
Last modified: August 20, 2016

---

# [Plugin: Codestyling Localization] PHP Warning on version 1.99.15

 *  Resolved [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/)
 * Hi there!
    At first thanx for this AWESOME plugin!
 * The newest version has some php warning I wanted just to report here:
    `Warning:
   preg_match() [function.preg-match]: Compilation failed: missing ) at offset 95
   in /-my-path-/wp-content/plugins/codestyling-localization/codestyling-localization.
   php on line 517`
 * But otherwise it’s working fine.
 * -dave from germany 🙂
 * [http://wordpress.org/extend/plugins/codestyling-localization/](http://wordpress.org/extend/plugins/codestyling-localization/)

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

 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133285)
 * Seems to be related to the filename in analysis. Did the plugin using special
   chars at some filenames like ‘$’, ‘^’ or brackets ?
 *  Thread Starter [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133447)
 * Aha, don’t know in detail. I can use the plugin as normal for translating. Is
   it when files/plugins use a variable for textdomain containing the “$” symbol
   or such?
 * Can I do something to avoid this?
 * Thanx, Dave 🙂
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133469)
 * The questionable line deals with filenames of *.mo and *.po file. Could it be,
   that inside the naming of one of your plugin files are special character contained?
   
   I can’t reproduce the issue until I know a case (filename) which produces this
   result. Could you pease find out, which *.mo/*.po/*.pot is responsible for this
   behavior and give me this example as test base?
 *  [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133627)
 * Hi
 * It is the adminimize plugin – drag it out of plugins – all ok
    drag it back in
   again and error above happens.
 *  Thread Starter [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133628)
 * [@anmari](https://wordpress.org/support/users/anmari/)
    Thank you for that tip,
   much appreciated! When I delete the whole folder of “Adminimize” then the warning
   goes away, right! 🙂 (Note: Deactivating the plugin doesn’t work though, the 
   folder has to be deleted on the server…)
 * -dave 🙂
 *  [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133632)
 * Thanks for the hints, i have found the problem. Heikos plugin find the string
   of textdomain via preg_match and i define my string via function, not static.
   The next version of my plugin change this and than works fine.
 *  Thread Starter [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133633)
 * Thank you, Frank! Much appreciated – your plugin is really awesome, thanx for
   your hard work!
 *  [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133634)
 * Welcome 😉
 *  [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133643)
 * Can all people check the current trunk [http://downloads.wordpress.org/plugin/adminimize.zip](http://downloads.wordpress.org/plugin/adminimize.zip)–
   i have no problems with this and i hope you also. Thanks for feedback.
 *  Thread Starter [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133644)
 * Thank you, Frank!
    After second try the trunk version now works without the error
   message! Just perfect 🙂
 *  [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133645)
 * Thanks for the reply; but i will also change other topics and after this i will
   released the new version.
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133652)
 * preg_match() issue solved at Version 1.99.16

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

The topic ‘[Plugin: Codestyling Localization] PHP Warning on version 1.99.15’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codestyling-localization_e6e1e3.svg)
 * [Codestyling Localization](https://wordpress.org/plugins/codestyling-localization/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codestyling-localization/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codestyling-localization/)
 * [Active Topics](https://wordpress.org/support/plugin/codestyling-localization/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codestyling-localization/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codestyling-localization/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [codestyling](https://wordpress.org/support/users/codestyling/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-php-warning-on-version-19915/#post-2133652)
 * Status: resolved