Forums

2.0 Upgrade Issue (5 posts)

  1. archaeologyman
    Member
    Posted 6 years ago #

    I followed all the intructions (upgrade) to the letter but am getting the following error:

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 152

    Warning: Invalid argument supplied for foreach() in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 156

    blog is here: http://blog.markbillings.us

    Any help would be greatly appreciated.

    Thanks

  2. Ryan Duff
    Member
    Posted 6 years ago #

    Did you run upgrade.php? Sounds like it didn't run correctly and the new capabilities didn't migrate over from the prior user level system.

  3. archaeologyman
    Member
    Posted 6 years ago #

    I did run the upgrade. I am in the process of reverting back to the original files and will try again. The strange thing was that the blog loaded but the above the header the error message appeared. Back to the drawing board.

  4. archaeologyman
    Member
    Posted 6 years ago #

    O.K. I resinstalled the files and the following is happening:

    main page displays blog with the following error at the top of the page:

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 152

    Warning: Invalid argument supplied for foreach() in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 156

    When I attempt to login I get the normal login screen with the same message at the top of the page

    When I try to login with my username/password I get a page with just the message that appears at the top of the other pages.

    HELP.

    Thanks

    Mark

  5. archaeologyman
    Member
    Posted 6 years ago #

    UPDATE

    The error (below) is occurring when I activate David Chait's C-G Amazon plugin

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 152

    Warning: Invalid argument supplied for foreach() in /home/.landmark/mabillings/blog.markbillings.us/wp-includes/capabilities.php on line 156

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags