Unfortunately due to other commitments, we are no longer able to provide support for these themes.

All our themes are now free and can be downloaded by anyone to use/modify however they wish.

We want to thank all our users for their support over the years. All the best in 2020 and beyond.

Possible solution to error in themedy-metaboxes.php

summer_brookssummer_brooks Lifetime Member
Followup from the issue discussed here: http://themedy.com/forum/discussion/4581/strange-error-in-richmond-after-site-move

I started updating said test site, and that same error about the undefined pagetag on line 36 popped up again, even with the latest Toolbox. After some digging, that error only appears when editing custom post types that aren't listed in the themedy-metaboxes.php definitions.

After some more digging, I think the conditional on line 33 needs to be changed because it's failing to kick out when editing any custom post type other than "page" or "portfolio".

So I changed it to this instead:
if ( ! is_singular ( array('page', 'portfolio') ) ) return;

and it seems to work, and resolves the error message.


This discussion has been closed.