Topic Resolution: Resolved
  • Closed
  • MARK VAN BELLEN
    Spectator
    09.05.2016 at 15:28 #27470

    I have been creating a demo site for a prospective client and was using the portfolio to store restaurant menu items.
    I had several categories – one of which was called ‘Menu’ – I’d originally intended to add all items to this category as well as other categories but noticed there was already an ‘All’ filter so I removed that category.

    All I get now when I try and render the page is:

    Warning: array_key_exists() expects parameter 2 to be array, null given in /home/allte591/public_html/in-rojales/wp-content/themes/evolve-plus/portfolio-four-column-text.php on line 152

    Warning: array_key_exists() expects parameter 2 to be array, null given in /home/allte591/public_html/in-rojales/wp-content/themes/evolve-plus/portfolio-four-column-text.php on line 152

    I tried removing all the categories and recreating them – still no go. Tried uninstalling and reinstalling the theme, redux, theme4press but still the error remains (as does the data).

    Really annoyed.

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 16:03 #27473
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    09.05.2016 at 19:52 #27478

    let’s start by updating the theme..you are using an older one…the latest one is 2.6.4

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 20:18 #27485

    done that. thought I was already on the latest theme/version – must’ve installed an older zip file. The error is still there.

    Roman
    Spectator
    Posts: 3147
    09.05.2016 at 20:42 #27491

    have you modified any files? May I upload new version?

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 20:56 #27494

    no files modified.
    It was working before I removed a category (tried adding it back but doesn’t work).
    By all means – fill your boots!

    Roman
    Spectator
    Posts: 3147
    09.05.2016 at 20:57 #27496

    please grant me access to upload/modify theme files..thanks

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 21:02 #27498
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    09.05.2016 at 21:38 #27503

    on the Portfolio page was forgotten on the edit view the Portfolio Type -> All Categories 😉

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 21:46 #27504

    Ah, on portfolio options on the page! I’d forgotten there was a setting there – it would’ve been set to ‘Menu’ before I expect (which was the category I deleted).

    Still, might be useful to trap the error and display one that might help other users – whilst I was Googling for the ‘problem’ I came across another site that had been indexed with that error!

    Thanks for your help, much appreciated.

    MARK VAN BELLEN
    Spectator
    Posts: 14
    09.05.2016 at 21:54 #27505

    Ah, any reason why only ‘All’, ‘Breakfast’, ‘Breakfast Sandwiches’ and ‘Extras’ are the only categories showing?
    There are things in ‘Jacket Potatoes’!
    The filters not showing.

    Perhaps I’ve missed something else. Thanks for your patience.