Forums

[Plugin: wp pear debug] Version 1.4.7 has a parse error (2 posts)

  1. Sandeep Kumar
    Member
    Posted 3 years ago #

    I installed the wp-pear-debug plugin and tried to activate it. It gave a PHP parse error.

    On inspection, I found in Line 373 :
    <? if($sField['def'] != self::WPD_GUEST_ROLE): ?>

    It should have the php start tag and should be changed to :
    <?php if($sField['def'] != self::WPD_GUEST_ROLE): ?>

    Please integrate it to trunk code for the plugin.

    http://wordpress.org/extend/plugins/wp-pear-debug/

  2. silasco
    Member
    Posted 3 years ago #

    Thank you for that. I have updated the trunk code. This slipped me because my short tags are on. I guess anyone who did not have short tags enabled and tried this plugin would have experienced the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic