Fatal Error
-
I keep getting
Plugin could not be activated because it triggered a fatal error.Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home1/photojgi/public_html/mondormethod/wp-content/plugins/cc-coming-soon-pro/public/class-cc-coming-soon-pro.php on line 425
It’s obviously related to this code:
public function load_middleware() {
// Newsletter
$newsletter = “ChopChop\\ComingSoonPro\\Newsletter\\Adapter\\” . $this->get_option(‘newsletter’, ‘adapter’);
if(class_exists($newsletter)) {
$this->newsletter = $newsletter::getInstance();
}I edited to -> (not even sure that’s correct but the error disappears)
Then it throws this error:
Parse error: syntax error, unexpected T_STRING in /home1/photojgi/public_html/mondormethod/wp-content/plugins/cc-coming-soon-pro/public/class-cc-coming-soon-pro.php on line 563Unfortunately, I incredibly limited php knowledge so I have no idea what the issue is here.
line 563: $MailChimp = new \Drewm\MailChimp($api_key);I’m uploading the zip that I downloaded when I purchased cc coming soon pro.
- The topic ‘Fatal Error’ is closed to new replies.