Error message get_terms
-
We have the most uptodate version of the plugin, which says it has been tested to work with version 3.6 to 4.8.2, but when we choose the open in new window link, we are now getting an error message that says:
Warning: Missing argument 1 for get_terms(), called in /home/kkfiorg/public_html/wp-content/plugins/powerpress/powerpress.php on line 2839 and defined in /home/kkfiorg/public_html/wp-includes/taxonomy.php on line 1658
The play icon is still there and works but it looks odd.
I went to the code line & it is in this block of code (the line I bolded):
if( !empty($GeneralSettings[‘taxonomy_podcasting’]) ) // Taxonomy Podcasting
{
$PowerPressTaxonomies = get_option(‘powerpress_taxonomy_podcasting’);
if( !empty($PowerPressTaxonomies) )
{
$terms = get_terms();
$ttid_found = 0;
$TaxonomySettings = false;Googling on the error just took me to information about get_terms & how its behaviour changed at version 4.5.0 – https://developer.ww.wp.xz.cn/reference/functions/get_terms/
So I have several questions:
1. Is the plugin really tested to work ok with all those versions of wordpress? Did this incompatibility get missed?
2. If it is an incompatibility error & there should have been a version check and alternate code done, can anyone suggest it (if they’ve already had to do this for their site)?
3. If I can’t fix the compatibility here, what option in the plugin can I check to either turn off the open in new window option, or preferably, to stop the text check and error message but still have the play button available?Thanks!
The page I need help with: [log in to see the link]
The topic ‘Error message get_terms’ is closed to new replies.