• Resolved natvan_d

    (@natvan_d)


    Hi there

    After installation of this plugin I’m getting error message ‘Invalid argument supplied for foreach() /wp-content/plugins/custom-post-type-auto-menu/bfp-cpt-auto-menu.php on line 409’

    It seems to be happening in the admin area, ‘CPT Auto Menu > Menu Settings’ when I try to select the Menu & Menu item to use and will not save my choices.

    Hope that makes sense, thanks in advance for your help.

    https://wordpress.org/plugins/custom-post-type-auto-menu/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ken Dirschl

    (@badfun)

    hi Natvan_d,
    It makes sense, but I’m not sure why you are seeing this error. Are the menu items showing up in the boxes or are they blank? Any more information you can tell me would be helpful.

    I have to solve another issue too with it so will have to spend some time on it. I’ve just been super busy lately.

    Also, sorry for not getting back sooner. Gmail blocks these messages for some reason.
    thanks,
    ken

    Thread Starter natvan_d

    (@natvan_d)

    Hi Ken, thanks for your reply

    No, when I selected my menu & menu item from the ‘menu settings’ and hit save, the page reloads with that error and both drop downs say ‘select menu’ and ‘select menu item’ again.

    In the front end, I can see the menu and parent item but none of the cpt links are being generated.

    Having said that, I have actually created the required menu without the use of a plugin now, but I thought perhaps someone else may be having a similar issue to me.

    Thanks
    Nat

    Plugin Author Ken Dirschl

    (@badfun)

    Hi Nat,
    thanks for the update. I have not been able to replicate that error. I am, however, hunting down a couple of other bugs so will do an update soon.
    yours,
    Ken

    Plugin Author Ken Dirschl

    (@badfun)

    Hi Nat,
    I have done an update for other fixes. Don’t know if it is related to your problem but if you get a chance to test it out let me know. I would appreciate it.
    yours,
    Ken Dirschl

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid argument supplied error message in menu settings’ is closed to new replies.