• The following message is shown up when i access to the page.
    Parse error: syntax error, unexpected ”, ” (T_CONSTANT_ENCAPSED_STRING) in /home/mayplan/consul-ship.com/public_html/wp-content/advanced-cache.php on line 34

    Would anyone help for that? Thanks a lot!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello winniewong1234,

    Did you try deactivating your plugins and tried once? In most of the case, it is plugin or theme conflicts.

    Deactivate all plugins and turn them ON one by one.

    Note: Kindly keep a complete backup of your code and Database for your safety.

    Thanks.

    Thread Starter winniewong1234

    (@winniewong1234)

    Hello Kartik Shukla,

    Thanks for your reply.

    But now i can’t even login to the admin page. It shows the same message “Parse error: syntax error, unexpected ”, ” (T_CONSTANT_ENCAPSED_STRING) in /home/mayplan/consul-ship.com/public_html/wp-content/advanced-cache.php on line 34″.

    DO you have any idea in mind?

    Thread Starter winniewong1234

    (@winniewong1234)

    fixed the problem in advanced-cache.php

    <?php
    /**
     * Hummingbird Advanced Tools module
     *
     * @package Hummingbird
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	die();
    }
    
    /**
     * Load necessary modules for caching.
     */
    
    if ( ! class_exists( 'WP_Hummingbird_Module_Page_Cache' ) ) {
    	if ( is_dir( WP_CONTENT_DIR . '/plugins/wp-hummingbird/' ) ) {
    		$path = WP_CONTENT_DIR . '/plugins/wp-hummingbird/';
    	} else {
    		$path = WP_CONTENT_DIR . '/plugins/hummingbird-performance/';
    	}
    
    	include_once $path . 'core/class-utils.php';
    	include_once $path . 'core/class-abstract-module.php';
    	include_once $path . 'core/modules/class-module-page-cache.php';
    
    	if ( ! method_exists( 'WP_Hummingbird_Module_Page_Cache', 'serve_cache' ) ) {
    		return;
    	}
    
    	define( 'WPHB_ADVANCED_CACHE', true );
    	WP_Hummingbird_Module_Page_Cache::serve_cache();
    }
    ILE_VERSION', '170220');
    }
    

    The website can be shown by changing the last line to “// ILE_VERSION’, ‘170220’);”. Can anyone explain why did the error happen?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical Issue – Cannot login to wordpress’ is closed to new replies.