• My website went down couple of days ago. I am very new to this so pardon my newbiness.

    This is what my debug.log returned:

    [05-Feb-2023 14:12:23 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:12:27 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:12:29 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:12:33 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:12:35 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:12:41 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:16 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:16 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:16 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:22 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:23 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:23 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:28 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:31 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393
    [05-Feb-2023 14:13:31 UTC] PHP Deprecated: Function global_terms_enabled is deprecated since version 6.1.0 with no alternative available. in /mnt/production-island08-storage-2/easywp_user_630760/app-729565/git/wp/wp-includes/functions.php on line 5393

    and here is the corresponding functions.php code:

    /**
     * Marks a function as deprecated and inform when it has been used.
     *
     * There is a hook {@see 'deprecated_function_run'} that will be called that can be used
     * to get the backtrace up to what file and function called the deprecated
     * function.
     *
     * The current behavior is to trigger a user error if WP_DEBUG is true.
     *
     * This function is to be used in every function that is deprecated.
     *
     * @since 2.5.0
     * @since 5.4.0 This function is no longer marked as "private".
     * @since 5.4.0 The error type is now classified as E_USER_DEPRECATED (used to default to E_USER_NOTICE).
     *
     * @param string $function    The function that was called.
     * @param string $version     The version of WordPress that deprecated the function.
     * @param string $replacement Optional. The function that should have been called. Default empty.
     */
    function _deprecated_function( $function, $version, $replacement = '' ) {
    
    	/**
    	 * Fires when a deprecated function is called.
    	 *
    	 * @since 2.5.0
    	 *
    	 * @param string $function    The function that was called.
    	 * @param string $replacement The function that should have been called.
    	 * @param string $version     The version of WordPress that deprecated the function.
    	 */
    	do_action( 'deprecated_function_run', $function, $replacement, $version );
    
    	/**
    	 * Filters whether to trigger an error for deprecated functions.
    	 *
    	 * @since 2.5.0
    	 *
    	 * @param bool $trigger Whether to trigger the error for deprecated functions. Default true.
    	 */
    	if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {
    		if ( function_exists( '__' ) ) {
    			if ( $replacement ) {
    				trigger_error(
    					sprintf(
    						/* translators: 1: PHP function name, 2: Version number, 3: Alternative function name. */
    						__( 'Function %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
    						$function,
    						$version,
    						$replacement
    					),
    					E_USER_DEPRECATED
    				);
    
    			} else {
    				trigger_error(
    					sprintf(
    						/* translators: 1: PHP function name, 2: Version number. */
    						__( 'Function %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),
    						$function,
    						$version
    					),
    					E_USER_DEPRECATED
    				);
    			}
    		} else {
    			if ( $replacement ) {
    				trigger_error(
    					sprintf(
    						'Function %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.',
    						$function,
    						$version,
    						$replacement
    					),
    					E_USER_DEPRECATED
    				);
    			} else {
    				trigger_error(
    					sprintf(
    						'Function %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.',
    						$function,
    						$version
    					),
    					E_USER_DEPRECATED
    				);
    			}
    		}
    	}
    }

    Please help? ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • From what I have read this function has been abandoned since version 3.5. The function was used for configuration controlling multiple sites. It looks like it fell out of use with the introduction of meta terms. What ever is calling it must be really old. If you have a plugin called Global Terms please remove it. It was an attempt to port the global terms into a plugin. It was created but never updated. Global Terms was marked for removal in version 6.1 of wordpress.

    looks like all the errors are coming from mnt/production-island08-storage-2/easywp_user. If this is a plugin try disabling it.

    • This reply was modified 1 year, 9 months ago by mrtom414.
    Thread Starter rmaidans

    (@rmaidans)

    I can’t access the portal, so I’m using FileZilla to navigate through files.

    Global Terms is not a listed plugin, neither is mnt/production-island08-storage-2/easywp_user

    I might be missing something. But I tried disabling all plugins by renaming the category folder (plugins) and site still won’t load.

    It could be coming from your theme. You can try changing themes to see if it goes away. If it does you will probably need to find a different theme or contact the theme developer.

    Thread Starter rmaidans

    (@rmaidans)

    Tried disabling each theme individually and the entire themes folder altogether through FileZilla to no avail.

    Thread Starter rmaidans

    (@rmaidans)

    Any other suggestions, please?

    The only thing I can find with easywp is this site. Is it a product you are using. If so try asking them for help. It a commercial based product so it wouldn’t be supported here. https://www.g2.com/products/easywp/pricing

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Function global_terms_enabled is deprecated since version 6.1.0’ is closed to new replies.