Hi folks,
I just updated a client's site by several versions of WP Core
(4.4.4 to 4.6.1), and one of his plugins broke. Not overly
surprising, since it hasn't been updated in 7 years! I'm looking
for either a functional equivalent or a quick fix to the existing
plugin.
The plugin was Super Cat Lister. It allowed him to insert a
shortcode, ie [cat_lister cat_name='By Name' ] into his page to
display links to all the posts in that category.
The failure isn't breaking the functionality of the plugin - it's still displaying those links properly. The visible problem is that the page using the shortcode throws a warning at the top of the page for each instance of shortcode use:
Warning: Creating default object from empty value in /home/sdc/www_site/wp-content/plugins/super-cat-lister/includes/superCatLister_defaults.php on line 25
The function in question (starting at line 24) is:
function createAdminGlobals() {
$g->pluginName = 'SuperCatLister';
$g->databaseOptionsName = 'SuperCatListerOptions';
$g->updateName = 'updateSuperCatListerOptions';
$g->adminMenuTypeDefault = 'standard';
$g->adminTextBoxDefaultHeight = 30;
$g->adminTextBoxDefaultWidth = 500;
$g->adminHeaderText = 'Super Cat Lister Admin Panel!';
$g->adminFooterText = '<div style="padding:0xp;margin:0px;padding-top:20px;">
Super Cat Lister Plug-In (c) 2009 By <a href = "http://www.ecosystemI.com">Jason Pomerantz</a>.</div>';
$this->globals = $g;
}//end function createAdminGlobals()
For a super quick and dirty fix I'd even be happy with just
suppressing the warning for a couple days, knowing that this
function will definitely need a complete overhaul in the near
future.
Thanks for any insights you can give.
-- Bill Christensen http://SustainableSources.com http://LinkedIn.com/in/billc108
--
You received this message because you are subscribed to the Google Groups "WordPress Austin" group.
To post to this group, send email to wordpress-austin@googlegroups.com
To unsubscribe from this group, send email to wordpress-austin-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/wordpress-austin?hl=en
Our meeting information is available at http://www.meetup.com/austinwordpress/
---
You received this message because you are subscribed to the Google Groups "WordPress Austin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wordpress-austin+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "WordPress Austin" group. To post to this group, send email to wordpres...@googlegroups.com To unsubscribe from this group, send email to wordpress-aust...@googlegroups.com For more options, visit this group at http://groups.google.com/group/wordpress-austin?hl=en Our meeting information is available at http://www.meetup.com/austinwordpress/ --- You received this message because you are subscribed to the Google Groups "WordPress Austin" group. To unsubscribe from this group and stop receiving emails from it, send an email to wordpress-aust...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.