Title: PHP error
Last modified: August 20, 2016

---

# PHP error

 *  Resolved [wpweaver](https://wordpress.org/support/users/wpweaver/)
 * (@wpweaver)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/php-error-35/)
 * When running with WP_DEBUG true, I get this diagnostic:
 * Warning: Creating default object from empty value in /wp-content/plugins/rtl-
   tester/rtl-tester.php on line 83
 * Please don’t forget to test your plugin when running with WP_DEBUG true!
 * [http://wordpress.org/extend/plugins/rtl-tester/](http://wordpress.org/extend/plugins/rtl-tester/)

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

 *  [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/php-error-35/#post-3520837)
 * Same here. I removed that line and everything still functions correctly, so I’m
   not sure if it’s truly needed.
 *  Plugin Author [Yoav Farhi](https://wordpress.org/support/users/yoavf/)
 * (@yoavf)
 * [13 years ago](https://wordpress.org/support/topic/php-error-35/#post-3520852)
 * Thanks for the report guys, this should be fixed in 1.0.3 (just tagged, should
   be available in a short bit)
 *  [Yonatan Ganot](https://wordpress.org/support/users/xxxyonixxx/)
 * (@xxxyonixxx)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-error-35/#post-3520856)
 * I have the same error in version 1.0.3(which already should be fixed in this 
   version).
 * Thanks!
 *  [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-error-35/#post-3520857)
 * It was not fixed. The code below fixes that (put that instead line 83.
 *     ```
       if(!empty($wp_styles))
           $wp_styles->text_direction = $direction;
       ```
   
 *  Plugin Author [Yoav Farhi](https://wordpress.org/support/users/yoavf/)
 * (@yoavf)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-error-35/#post-3520858)
 * 1.0.4 should hopefully fix that. I haven’t been able to reproduce the problem,
   so if it’s still happening, please let me know.

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

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

 * ![](https://ps.w.org/rtl-tester/assets/icon-256x256.png?rev=978435)
 * [RTL Tester](https://wordpress.org/plugins/rtl-tester/)
 * [Support Threads](https://wordpress.org/support/plugin/rtl-tester/)
 * [Active Topics](https://wordpress.org/support/plugin/rtl-tester/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rtl-tester/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rtl-tester/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Yoav Farhi](https://wordpress.org/support/users/yoavf/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/php-error-35/#post-3520858)
 * Status: resolved