Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: Can’t log in
    Thread Starter Veksebo

    (@veksebo)

    If I go to line 601 of /var/www/miriamveksebo.dk/public_html/wp-includes/plugin.php, as the warning is about it says (Line 601-622):

    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);
    }

    /**
    * Check if any action has been registered for a hook.
    *
    * @since 2.5.0
    *
    * @see has_filter() has_action() is an alias of has_filter().
    *
    * @param string $tag The name of the action hook.
    * @param callable|bool $function_to_check Optional. The callback to check for. Default false.
    * @return bool|int If $function_to_check is omitted, returns boolean for whether the hook has
    * anything registered. When checking a specific function, the priority of that
    * hook is returned, or false if the function is not attached. When using the
    * $function_to_check argument, this function may return a non-boolean value
    * that evaluates to false (e.g.) 0, so use the === operator for testing the
    * return value.

    ——————————————————————————

    I am thinking that the value is set to zero, and if zero equals false, I could maybe test to see is an other value would be better. But as I have no clue what I am doing, I would really love your input. Does something look of to you? Should I insert something, or change something?

    Thanks a bunch!

    Forum: Fixing WordPress
    In reply to: Can’t log in
    Thread Starter Veksebo

    (@veksebo)

    Hi James,

    Thank you for your reply.

    I have tried manually resetting each plugin, but that sadly didn’t solve the problem. I am wary about forcing the default theme to activate, as I am very scared that all my content, and manual design, will be lost at the same time. I have read other places that the warnings are actually not because something is wrong with my website, but something about the latest upgrade and that WP cores is working on a fix.

    I have no idea what to do, or if there is anything I could do, as I would really love to be able to log in.

    All the best,
    Miriam

    I am getting the exact same message, and was thrilled to discover your thread. But, I can’t even log in. If I go to login all I see is the warning, and nothing else. Anyone else have the same problem?

    Thanks a million times for any help you could provide.

    All the best,
    Miriam

    Thread Starter Veksebo

    (@veksebo)

    You put it on your widgets page under first sidebar. Just put a text block there, and copy/paste.

    Thread Starter Veksebo

    (@veksebo)

    I resolved it finally. If others out there have the same problem just blank your sidebars with this code:

    <div id=”sidebar”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Top’) ) : else : ?>

    <?php endif; ?>

    <div class=”left”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Left’) ) : else : ?>

    <?php endif; ?>
    </div>

    <div class=”right”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Right’) ) : else : ?>

    <?php endif; ?>
    </div>

    <br class=”clear” />
    </div>

    After you’ve done so, go to customizer under your layout section and set increase the with of your maincontent to 100%.

    There you go ??

    Thread Starter Veksebo

    (@veksebo)

    Will do, thank you.

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