Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /home/…/wp-content/plugins/notification/notification.php on line 84
Is it possible to patch this problem?
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/content/01/8712901/html/raven/wp-content/plugins/ultimate-member/includes/class-init.php on line 137
plugin version: Version 2.0.25, WordPress version 4.9.
Please help I looked in the www.ads-software.com forums but there is no fix. My site is a membership site it won’t work without the plugin.
]]>Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /home/******/public_html/wp-content/plugins/ewww-image-optimizer/common.php on line 1764
Now that’s a wacky error
Had a look at the relevant code and think modifying the file
/ewww-image-optimizer/common.php
As follows gets rid of the parse error.
Change lines 1764, 1772, 1781, 1799 and 1813,
From
if ( ! defined( 'DOING_AJAX' ) || empty( DOING_AJAX ) ) {
To
if ( !defined('DOING_AJAX') || ! DOING_AJAX ) {
Not sure if it has any impact on functionality, just quickly getting a fix. I’ve only tested this on localhost so far, putting the info out there quickly for others.
David Law
]]>I updated rs-head-cleaner-lite and now I get this error and the website does not display;
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/ade20995/public_html/wp-content/plugins/rs-head-cleaner-lite/rs-head-cleaner-lite.php on line 59
So I deleted rs-head-cleaner-lite by ftp and the site shows but whenever I click on Widgets I see the error message again so I can’t access my widget area.
Any ideas? Thanks.
https://www.ads-software.com/plugins/rs-head-cleaner-lite/
]]>https://www.ads-software.com/plugins/yith-woocommerce-product-vendors/
]]>Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/public_html/wp-content/plugins/woocommerce-multilingual/inc/products.class.php on line 876
My site is no longer responding because of this issue.
I previously suffered the exact same issue and this was due to TGM Plugin Activation class which I had to manually update because of a security issue.
Here are the appropriate links:
https://themeforest.net/forums/thread/unexpected-t_paamayim_nekudotayim-classtgmpluginactivationphp-on-line-1109/174232
https://themeforest.net/forums/thread/security-vulnerability-affecting-wordpress-plugins-and-themes/173011
Please fix this as soon as possible.
https://www.ads-software.com/plugins/woocommerce-multilingual/
]]>wp_json_encode
… I was unable to access anything on the Dashboard. The now upgraded self-hosted WordPress displayed all pages correctly.
ISSUE
After upgrading the plugin to version 3.3, every page loaded gives the following error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in <em>{...}</em>\wp-content\plugins\biblegateway-votd\bible-votd.php on line 225
Here is line 225 from my currently installed version on our self-hosted site:
jQuery(document).ready(function(b){var a=<?php echo json_encode( $this::$instances ); ?>;b.each(a,function(d,c){b.getJSON("https://www.biblegateway.com/votd/get?callback=?",{format:"json",version:c},function(f){if("undefined"!=typeof f.error){return true;}var e=f.votd;b("div#biblegateway-votd-"+d).html(e.text+' — <a href="'+e.permalink+'">'+e.reference+"</a>."+("undefined"!=typeof e.audiolink &&""!=e.audiolink?' <a href="'+e.audiolink+'" title="Listen to chapter"><img width="13" height="12" src="https://www.biblegateway.com/resources/audio/images/sound.gif" alt="Listen to chapter" /></a>':"")+' <a href="'+e.copyrightlink+'">'+e.copyright.replace(/\.+$/,"")+'</a>. Powered by <a href="https://www.biblegateway.com/">BibleGateway.com</a>.');});});});
A quick googling leads me to ask, what’s wrong with $this::$instances
in the call to json_encode()
?
Or is somthing else going on that needs to be addressed?
https://www.ads-software.com/plugins/biblegateway-votd/
]]>