Viewing 5 replies - 1 through 5 (of 5 total)
  • Unfortunately I think so. Many people are receiving the following error:

    PHP Notice: The called constructor method for WP_Widget in WPAC_Nav_Menu_Widget is deprecated since version 4.3.0! Use

    __construct()
    instead. in [path redacted]/wp-includes/functions.php on line 3902

    This plugin uses PHP4 style constructors for widgets. As a temporary fix the following changes can be made to the plugin.

    Within “default-widgets.php” lines 25 – 30 should be changed as follows:

    function __construct()
    {
    $widget_ops = array( ‘description’ => __(‘Use this widget to add one of your custom menus as a widget.’) );
    parent::__construct( ‘nav_menu’, __(‘Custom Menu’), $widget_ops );

    Of course with all changes run this under a development environment first to ensure that it resolves your issue before moving to live

    Let me know if you find a good alternative plugin

    Thread Starter einstein green

    (@einstein-green)

    thanks – I have actually not seen any error messages, but part of the function of the plugin is not working. I don’t have this site in a developers environment, the site is live. will that code deal with the unfunctionality problems? ie my login/logout/registration pages shortcodes are not working. I am not a php coder…but can follow directions

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Do you have a problem with this plugin that needs support?

    Thread Starter einstein green

    (@einstein-green)

    yes

    Hi @einstein-green,

    We have not found any issue with login/logout/registration pages shortcodes, however you may be using them differently to us.

    Please let me know your URL and I would be happy to have a look

    Do you have debugging turned on for your site?
    To enable this change define( ‘WP_DEBUG’, false ); in wp-config.php (accessed via ftp and is localed in the root of the website eg, /httpdocs or public_html ) to define( ‘WP_DEBUG’, true );

    and then to record any errors to file add:
    define( ‘WP_DEBUG_LOG’, true );

    This will add debug.log within wp-content, also accessed via ftp.
    More information on this here: https://codex.wordpress.org/Debugging_in_WordPress

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘abandoned’ is closed to new replies.