Hi,
I will be glad to help, how did you trace the issue to NextGEN Gallery?
The first troubleshooting steps are quite common in wordpress,
1-connect to your site via FTP or your hosting company file manager
2- rename the nextgen gallery plugin folder inside wp-content/plugins
3- try to log in to your site, if your site comes back up, then delete the renamed folder
4- deactivate all your plugins
5- install nextgen gallery
6- if the site stays up, start activating one plugin at a time and check afterwards if at some point the site goes down then it is a conflict with that plugin
please let me know if you found the culprit and we will go from there.
Thanks 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.”
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 see
It’s the events calendar plugin that is causing it
Downloaded it again but getting same “syntax error, unexpected ‘='” error.
Plugin Contributor
Imagely
(@imagely)
Hi @bluestseel,
Thanks for going with the basic conflict troubleshooting. Let’s also enable WP Debug from your site’s wp-config.php
to see if that’ll allow you get a full path of the file that conflicts.
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 13
13: 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 1 year, 6 months ago by bluestseel.
Plugin Contributor
Imagely
(@imagely)
@bluestseel.
Thanks. None of these seem to point directly to NGG or EC plugins. Also, we couldn’t replicate it on our testing sites while having both NGG and EC enabled.
You can reach the support team directly at https://www.imagely.com/report-bug/ and we’ll have a direct look at it.