• Resolved TheSupercargo

    (@thesupercargo)


    Sorry guys, the latest update broke Multicons on my website. I’m getting this error splashed across the top of my front page.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘multicons_init’ not found or invalid function name in /storage/content/70/109970/gbg365.thesupercargo.com/public_html/wp-includes/plugin.php on line 503

    Deactivating until there is a revision.

    https://www.ads-software.com/plugins/multicons/

Viewing 6 replies - 1 through 6 (of 6 total)
  • +1

    I received the exact same error, along with two others that appear to point to a conflict with the All In One WordPress Security (AIOWPS) plugin.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘multicons_init’ not found or invalid function name in /home/content/p3pnexwpnas05_data02/61/2401261/html/wp-includes/plugin.php on line 503

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas05_data02/61/2401261/html/wp-includes/plugin.php:503) in /home/content/p3pnexwpnas05_data02/61/2401261/html/wp-content/plugins/all-in-one-wp-security-and-firewall/other-includes/wp-security-rename-login-feature.php on line 429

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas05_data02/61/2401261/html/wp-includes/plugin.php:503) in /home/content/p3pnexwpnas05_data02/61/2401261/html/wp-content/plugins/all-in-one-wp-security-and-firewall/other-includes/wp-security-rename-login-feature.php on line 442

    @thesupercargo, @jpress

    You are seeing this error because the multicons.php file is adding a function to the plugins_loaded action hook, but the function it’s adding – multicons_init() – doesn’t exist.

    There are two fixes for this. First, you can just comment out the line at the top of the multicons.php file. The second is probably prefered as it doesn’t edit the plugin files.

    In functions.php add the following:

    // check to see if this exists (added back to the plugin?)
    if ( !function_exists( 'multicons_init' ) ){
        function multicons_init(){} // create a function that does nothing
    }
    Thread Starter TheSupercargo

    (@thesupercargo)

    Thanks for your suggestions doublesharp.

    Unfortunately the second option (adding the code to functions-php) didn’t work.

    Editing the multicons.php file did work, but now it seems as though the icons I had uploaded for the plugin to use have disappeared. Is it possible the recent upgrade erased them?

    Or perhaps the older version of the plugin required them to be in a different place than the WP’s Media file?

    The latter seems more likely – in fact without Multicon, the website finds the favicon (but presumably not the Apple icon). I’m not in a position to spend time sorting this out now so I’ll keep Muliticons deactivated a while longer.

    Plugin Author doc4

    (@doc4)

    My apologies everyone. I’ve been working with WordPress to update the plugin for stronger security.

    As far as links go, yes you will need to re-link the files. The entire plugin was rewritten.

    Thanks, and expect an update shortly.

    Plugin Author doc4

    (@doc4)

    Just updated the plugin to version 4.2. This should correct the issue. I’ll be monitoring this forum throughout the day if there are any more comments.

    Please ignore version 4.1 unless you like the Multicons in the top level WordPress menu. This plugin shouldn’t be accessed so much that it’s needed outside of the setting menu.

    Thank everyone.

    Thanks @doc4! Worked well for me ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Broken!’ is closed to new replies.