Support » Plugin: Flexible Frontend Login » [Plugin: Flexible Frontend Login] Getting Fatal Error on activate

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author palatino

    (@palatino)

    Thank you for your notice. I added a fix and would love to hear if it helps. Please download version 0.97.4 and test it. Let me know if or if not that resolves the problem.

    Hi
    have just downloaded the latest version and it is clashing with an existing plugin ‘Hierarchical-documentation’ that I am using on my main website

    Error:

    Cannot redeclare class Markdown_Parser in C:\wamp\www\testing\wp-content\plugins\hierarchical-documentation-example\app\libs\markdown.php on line 51

    sorry
    BobKinloch

    Plugin Author palatino

    (@palatino)

    Hi Bob,
    as long as you use the “Hierarchichal Documentation” plugin you might want to use this workaround: Find the file /plugins/flexible-frontend-login/includes/options-page.php
    Put // in front of line 7 so it looks like this:
    // require_once( FFL_PATH . 'includes/markdown.php' ); // required to parse the readme.txt
    It’s only a hack and you will have to renew it after a plugin update, but probably it will be the quickest fix.
    I will keep looking for a more convenient solution but it may take some time.

    Hi,

    there is a second instance of MARKDOWN on line 346
    /plugins/flexible-frontend-login/includes/options-page.php

    $readmetxt = MARKDOWN($readmetxt);

    Thanks
    Bob Kinloch

    Plugin Author palatino

    (@palatino)

    Yes I see, Hierarchical Documentation is using an older version of Markdown. I tried this solution and it worked in my test
    install:

    1. Copy the content of /flexible-frontend-login/includes/markdown.php to /hierarchical-documentation/app/libs/markdown.php
    2. In line 7 of /flexible-frontend-login/includes/options-page.php change line 7 from this
      require_once( FFL_PATH . 'includes/markdown.php' ); // required to parse the readme.txt

      to this

      // require_once( FFL_PATH . 'includes/markdown.php' ); // required to parse the readme.txt
      require_once( ABSPATH . '/wp-content/plugins/hierarchical-documentation/app/libs/markdown.php');

    Be aware that this is not a long term hack because any update of Flexible Frontend Login will erase those changes. I will include a check for the existence of Hierarchical Documentation in the next release but you should ask the developer to update the Markdown file in his plugin for better cooperation between the plugins.

    Thank you,
    a really good ‘fix’

    Plugin Author palatino

    (@palatino)

    You might want to download the plugin once again since I have added a few lines which make the plugin working with Hierarchical Documentation without any hacking on your side. To your convenience 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Flexible Frontend Login] Getting Fatal Error on activate’ is closed to new replies.