Tagged: install, undefined index, undefined tab
- This topic has 4 replies, 2 voices, and was last updated 8 years, 7 months ago by
Steve.
-
AuthorPosts
-
-
July 14, 2013 at 3:29 pm #895
MarcusMemberSo I have piklist on a clients install of WP older than 3.5.2,
And I go to install it myself on a new install of WP 3.5.2, and I get the following errors:At Gist:
https://gist.github.com/anonymous/5995485Is anyone else going through this, and if so, did you fix it? Thanks
(as still a few days away from Beta)Marcus
-
July 15, 2013 at 11:53 am #899
SteveKeymasterPlease change line 32 in C:\html\master\personal\ssgnewwp\wp-content\plugins\piklist\parts\shared\admin-page.php to:
<a class="nav-tab <?php echo (isset($tab['page']) && (isset($_REQUEST['tab'])) == $tab['page']) || (!isset($_REQUEST['tab']) && !isset($tab['page'])) ? 'nav-tab-active' : null; ?>" href="?<?php echo http_build_query(array_filter($url)); ?>">Let me know if that works
-
July 15, 2013 at 1:07 pm #900
MarcusMemberWorks perfect.
So thats all it was. Just a couple of issets and done.
Thanks Steve.Marcus
-
July 15, 2013 at 1:17 pm #901
MarcusMemberAs soon as I made the change you suggested above, I could add the demo piklist types, but when I did, the ‘Add Demo Types’ page under the new piklist taxonomy produced errors.
Having a look at /piklist/includes/class-piklist-cpt.php line 573, I changed it from:
if ($status->capability_type == $object_type)
to
if (isset($status->capability_type) && $status->capability_type == $object_type)And the errors for that page are gone. Now everything works.
Thanks again Steve.
Marcus
-
July 15, 2013 at 2:11 pm #903
SteveKeymasterGreat. Closing this ticket.
-
-
AuthorPosts
- You must be logged in to reply to this topic.