• Resolved gmaraujo

    (@gmaraujo)


    After the update I can’t activate the plugin, Keep receiving this error.

    Parse error: syntax error, unexpected T_FUNCTION in /home/storage/a/a9/d8/superatacadista/public_html/georgearaujo/blog/wp-content/plugins/modern-footnotes/modern-footnotes.php on line 72

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author prismtechstudios

    (@prismtechstudios)

    I bet this is happening because you’re on a PHP version before 5.3. I’ll get a fix released tomorrow for this.

    Or, if it’s urgent, you could try changing line 72 of modern-footnotes.php to:

    ‘sanitize_callback’ => ‘modern_footnotes_sanitize_callback’

    And then adding this to the end of the same file:
    function modern_footnotes_sanitize_callback($plugin_options) { return $plugin_options;}

    I haven’t tested that yet though.

    Thread Starter gmaraujo

    (@gmaraujo)

    That’s it, my site is running on a PHP 5.2.17. I can wait for your fix! Tks for the quick answer!

    Plugin Author prismtechstudios

    (@prismtechstudios)

    I just released a new version that should fix this issue. Let me know if you still get an error activating after updating the plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Activating’ is closed to new replies.