• Resolved schlabo

    (@schlabo)


    Just updated the website to WordPress 4.4 and your excellent plugin to the latest 1.5 version. Since then, there are 3 error messages on top of each page (even in the admin area):

    Warning: Invalid argument supplied for foreach() in /home/.sites/web/sitename/wp-content/plugins/pet-manager/inc/metabox/init.php on line 170

    I’ve “fixed” it by commenting out the foreach loop in the code – but not sure what implications that has on the rest of the script.

    Thanks!

    https://www.ads-software.com/plugins/pet-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Diana K. Cury

    (@dianakc)

    Thanks for reporting ?? I will check this out.

    Thread Starter schlabo

    (@schlabo)

    Thanks a lot! Additional problem – at least when I just comment out the foreach loop is then that editing the pets doesn’t work anymore. The text in the editing text box is white on white background and shown with all the HTML tags. In the “Pet Manager” box area below, it then shows the following error message: “Fatal error: Class ‘cmb_Meta_Box_field’ not found in /home/.sites/web/sitename/wp-content/plugins/pet-manager/inc/metabox/init.php on line 411”
    I guess we’ll have to revert to the backup for now, hoping that you can find the issue soon!

    Plugin Author Diana K. Cury

    (@dianakc)

    Hello, I think it has something to do with www.ads-software.com SVN, I resent the files all together but please try to install a zip file from my webserver:
    Pet manager.zip

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘metabox init warning with version 1.5’ is closed to new replies.