bluestseel
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Enabling Events Calendar crashes siteThe lines from relevant files:
likes-posttype.php on line 1313: class Cmsmasters_Likes { 14: function Cmsmasters_Likes() {functions.php on line 5756
if ( $replacement ) { trigger_error( sprintf( /* translators: 1: WordPress hook name, 2: Version number, 3: Alternative hook name. */ __( 'Hook %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $hook, $version, $replacement ) . $message, :5756 E_USER_DEPRECATED );ssbp_lazy.php on line 398
$facebook_link .= ($this->ssbp_settings['rel_nofollow'] == 'Y' ? ' rel="nofollow"' : null) . ' data-ssbp-title="' . $this->strPageTitle . '" data-ssbp-url="' . $this->urlCurrentPage . '" data-ssbp-site="Facebook" ' . ($this->ssbp_settings['ga_onclick'] == 'Y' ? 'onclick="ssbpTrackGA(\'' . $this->urlCurrentPage . '\', \'Facebook\'); return false;"' : null) . '>';Forum: Plugins
In reply to: [The Events Calendar] Enabling Events Calendar crashes siteEnabling the plugin and the site displays
ParseError thrown
syntax error, unexpected ‘=’There are 3 different entries in the debug log
[27-Oct-2022 12:46:36 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Cmsmasters_Likes has a deprecated constructor in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-content/themes/music-band/framework/class/likes-posttype.php on line 13 [27-Oct-2022 12:46:43 UTC] PHP Deprecated: Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-includes/functions.php on line 5756 [27-Oct-2022 12:47:24 UTC] PHP Notice: Undefined variable: facebook_link in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-content/plugins/simple-share-buttons-plus/system/controllers/ssbp_lazy.php on line 398- This reply was modified 3 years, 6 months ago by bluestseel.
Will do, thank you
So there are 3 different entries in the debug log
[27-Oct-2022 12:46:36 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Cmsmasters_Likes has a deprecated constructor in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-content/themes/music-band/framework/class/likes-posttype.php on line 13
[27-Oct-2022 12:46:43 UTC] PHP Deprecated: Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-includes/functions.php on line 5756`
[27-Oct-2022 12:47:24 UTC] PHP Notice: Undefined variable: facebook_link in /var/www/vhosts/219/1099467/webspace/httpdocs/bluesteelband.ie/wp-content/plugins/simple-share-buttons-plus/system/controllers/ssbp_lazy.php on line 398`The lines from relevant files:
likes-posttype.php on line 1313: class Cmsmasters_Likes { 14: function Cmsmasters_Likes() {functions.php on line 5756
if ( $replacement ) { trigger_error( sprintf( /* translators: 1: WordPress hook name, 2: Version number, 3: Alternative hook name. */ __( 'Hook %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $hook, $version, $replacement ) . $message, :5756 E_USER_DEPRECATED );ssbp_lazy.php on line 398
$facebook_link .= ($this->ssbp_settings['rel_nofollow'] == 'Y' ? ' rel="nofollow"' : null) . ' data-ssbp-title="' . $this->strPageTitle . '" data-ssbp-url="' . $this->urlCurrentPage . '" data-ssbp-site="Facebook" ' . ($this->ssbp_settings['ga_onclick'] == 'Y' ? 'onclick="ssbpTrackGA(\'' . $this->urlCurrentPage . '\', \'Facebook\'); return false;"' : null) . '>';- This reply was modified 3 years, 6 months ago by bluestseel.
Downloaded it again but getting same “syntax error, unexpected ‘='” error.
It’s the events calendar plugin that is causing it
deactivated all plugins, website comes up, in a mess obviously.
Installing nextgen-gallery again.
I didn’t deactivate plugins last time I installed it. Maybe that’s the issue?
We’ll seeThanks Jaime, I traced it to the nextgen-gallery when I changed the folder name. The error went from
“ParseError thrown
syntax error, unexpected ‘='”
to
“There has been a critical error on this website.”Forum: Fixing WordPress
In reply to: Nextgen-gallery.3.30 update broke my siteForum: Fixing WordPress
In reply to: Nextgen-gallery.3.30 update broke my siteAdding to thread