• Resolved bluestseel

    (@bluestseel)


    I am not experienced with website creation or troubleshooting. I can update and maintain but that’s about the extent. I recently updated the plugins and the site went down. I’ve traced the root cause back to the Nextgen-gallery plugin folder. However beyond that I am not sure which file needs to be edited. ParseError thrown
    syntax error, unexpected ‘=’ . I’ve looked for information about this error but come up empty. Any help would be appreciated.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    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.

    Thread Starter bluestseel

    (@bluestseel)

    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.”

    Thread Starter bluestseel

    (@bluestseel)

    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

    Thread Starter bluestseel

    (@bluestseel)

    It’s the events calendar plugin that is causing it

    Thread Starter bluestseel

    (@bluestseel)

    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.

    Thread Starter bluestseel

    (@bluestseel)

    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.

    Thread Starter bluestseel

    (@bluestseel)

    Will do, thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Nextgen-gallery.3.30 update broke my site’ is closed to new replies.