Support » Plugin: WP Hide & Security Enhancer » Call to undefined function do_action() – wph.class.php:615

  • Hi,
    I’m trying restart a new container created by me with docker compose and bitnami wordpress and mariadb images. It works but when I restart the container shows this message:

    PHP Fatal error: Uncaught Error: Call to undefined function do_action() in /bitnami/wordpress/wp-content/plugins/wp-hide-security-enhancer-pro/include/wph.class.php:615
    Stack trace:
    #0 [internal function]: WPH->ob_start_callback()
    #1 {main}
    thrown in /bitnami/wordpress/wp-content/plugins/wp-hide-security-enhancer-pro/include/wph.class.php on line 615

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter antonio24073

    (@antonio24073)

    When I delete the wp-config lines below:

    # BEGIN WP Hide & Security Enhancer
    define('WPH_WPCONFIG_LOADER',          TRUE);
    include_once( ( defined('WP_PLUGIN_DIR')    ?     WP_PLUGIN_DIR   .   '/wp-hide-security-enhancer-pro/'    :      ( defined( 'WP_CONTENT_DIR') ? WP_CONTENT_DIR  :   dirname(__FILE__) . '/' . 'wp-content' )  . '/plugins/wp-hide-security-enhancer-pro' ) . '/include/wph.class.php');
    if (class_exists('WPH')) { global $wph; $wph    =   new WPH(); ob_start( array($wph, 'ob_start_callback')); }
    # END WP Hide & Security Enhancer

    It works normally.

    Plugin Author nsp-code

    (@nsp-code)

    Hi,
    Sorry for the issue, apparently some of the WordPress components ( e.g. do_action() ) are not available at the time the wp-hide run.
    Since you own the PRO can you contact through the plugin website, for a fast support?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.