Title: [Plugin: Codestyling Localization] WP_DEBUG errors triggering scriptguard
Last modified: August 20, 2016

---

# [Plugin: Codestyling Localization] WP_DEBUG errors triggering scriptguard

 *  Resolved [Earthman Media](https://wordpress.org/support/users/earthman100/)
 * (@earthman100)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-wp_debug-errors-triggering-scriptguard/)
 * Hi, love your plugin!
 * When I enable WP_DEBUG though, the FATAL error thrown, as follows, triggers the
   Scripting Guard you have installed: :
 *     ```
       Malfunction at current Theme detected!
       Name: Fatal error: Cannot use object of type stdClass as array in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/codestyling-localization/codestyling-localization.php on line 2342
       ```
   
 * See screenshot at: [http://screencast.com/t/pRj6dqtm1](http://screencast.com/t/pRj6dqtm1)
 * Please advise.
 * Cheers!
    Terran
 * [http://wordpress.org/extend/plugins/codestyling-localization/](http://wordpress.org/extend/plugins/codestyling-localization/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-wp_debug-errors-triggering-scriptguard/#post-2796328)
 * This is a bug within the message generation only, the function of plugin and 
   also Guard works as expected, because the message will be created using an ajax
   call.
    I’ve scheduled an update very soon, if you want it get working sooner,
   than you can replace for now following lines (2342 and 2343):
 *     ```
       <?php _e('Name:',CSP_PO_TEXTDOMAIN);?> <strong><?php echo $ct['Name']; ?></strong> |
       <?php _e('Author:',CSP_PO_TEXTDOMAIN);?> <strong><?php echo $ct['Author']; ?></strong><br/>
       ```
   
 * with this lines:
 *     ```
       <?php _e('Name:',CSP_PO_TEXTDOMAIN);?> <strong><?php echo $ct->name; ?></strong> |
       <?php _e('Author:',CSP_PO_TEXTDOMAIN);?> <strong><?php echo $ct->author; ?></strong><br/>
       ```
   
 * This fix will be contained at version 1.99.22 comming soon.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Codestyling Localization] WP_DEBUG errors triggering scriptguard’
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/)

## Tags

 * [wp_debug](https://wordpress.org/support/topic-tag/wp_debug/)

 * 1 reply
 * 2 participants
 * Last reply from: [codestyling](https://wordpress.org/support/users/codestyling/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-wp_debug-errors-triggering-scriptguard/#post-2796328)
 * Status: resolved