Forums

[resolved] Syntax Error after editing plugin. (3 posts)

  1. St9o7
    Member
    Posted 9 months ago #

    I tried to fix a little problem with the Mingle forum plugin because the "only registered users may post posts", and now it competely messed up, when i push the upadate button this comes:

    Parse error: syntax error, unexpected T_STRING in /home/hermie/public_html[WEBSITE NAME]/wp-content/plugins/mingle-forum/wp… on line 1953

    I can't go back to the plugin page. When i click the bback button that error comes up! I can't even go to the dahsboard..

    I think i found the problem with the code. here it is:

    it says its line 1953, and i found that line.. here's whats on that line:

    $meta = "<p>".__("Welcome Guest, posting in this forum requires", "mingleforum")." reg_link'>".__("registration.", "mingleforum")."</p>".$this->login_form();

    But whenever I click "Update" the error comes up!!!! :( what do i do?

  2. vtxyzzy
    Member
    Posted 9 months ago #

    Use FTP or the control panel of your host site and replace the edited file with a freshly downloaded copy.

  3. St9o7
    Member
    Posted 9 months ago #

    Thank you, It worked!

Reply

You must log in to post.

About this Topic