Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 65051

Triggered Fatal Error

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 65051

Trending Articles