Support » Plugin: RTL Tester » PHP error

  • Resolved wpweaver

    (@wpweaver)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@yoavf)

    Thanks for the report guys, this should be fixed in 1.0.3 (just tagged, should be available in a short bit)

    I have the same error in version 1.0.3(which already should be fixed in this version).

    Thanks!

    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

    (@yoavf)

    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.