Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
-
Hi there,
I have a problem I am not being able to resolve for three days now. Here is what happened. On Monday I had perfectly functioning website running on WP with activated custom theme, but then unfortunately, I activated one of the child WooCommerce plugins, and after that the website went blank. It did not respond at all. Then I made a mistake, instead of deleting that plugin in FTP – I removed completely the WP installation along with the theme and plugins. Then I reinstalled the WP engine on that domain, and uploaded the theme, but when I try to activate it – the website goes blank (white screen of death). Even if I try to Live Preview that theme, the preview screen goes blank (white screen again!).
So, I looked around the Support Forum, and here are some of my details.
I checked theme folder permissions (they are 755), server is running on 5.329 PHP version. I turned on WP DEBUG and when I try to preview the uploaded customs theme it displays:Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/legtech/KERWEN/kerwen.tk/wp-content/themes/customengine/includes/core/lib/schema/Schema.php on line 19
That line 19, when opened in Code Editor says:
16`private static function fillter($schema = null, $prop = null, $val = null)
17 {
18 if ($prop != null) {
19 return $schema::getInstance()->prop($prop, $val);
20 } else {
21 return $schema::getInstance()->scope();
22 }
23 }`I have no idea what is wrong. The theme was working perfectly on Monday and weeks before that, but after that WooCommerce pluging everything went down and now the theme cannot be activated.
Could anyone please help me with this, I would be very grateful for any help or advice.
- The topic ‘Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM’ is closed to new replies.