• Resolved digerat

    (@digerat)


    Hi,
    I get this after installing and attempting to Activate this plugin:

    “Plugin could not be activated because it triggered a fatal error.”
    “Parse error: syntax error, unexpected T_STRING in ../wp-content/plugins/simply-static/includes/libraries/PhpSimple/HtmlDomParser.php on line 3”

    What do I need to do?

    Here is the HtmlDomParser.php:

    <?php

    namespace Sunra\PhpSimple;

    require ‘simplehtmldom_1_5′.DIRECTORY_SEPARATOR.’simple_html_dom.php’;

    class HtmlDomParser {

    /**
    * @return \simplehtmldom_1_5\simple_html_dom
    */
    static public function file_get_html() {
    return call_user_func_array ( ‘\simplehtmldom_1_5\file_get_html’ , func_get_args() );
    }

    /**
    * get html dom from string
    * @return \simplehtmldom_1_5\simple_html_dom
    */
    static public function str_get_html() {
    return call_user_func_array ( ‘\simplehtmldom_1_5\str_get_html’ , func_get_args() );
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digerat

    (@digerat)

    Resolved.

    Site had been newly migrated to a new server and certain relevant plugins had not yet been Activated. After those were Activated, the Simply Static plugin were Activated without problems.

    Thank you.

    Mimi

    Hi Mimi,

    Glad to hear you were able to find and resolve the issue!

    Best,
    Scott

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Triggered Fatal Error’ is closed to new replies.