• 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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shawn

    (@shawnogordo)

    I’ve forwarded your question to the Blubrry dev team. Someone will reply here as soon as possible.

    Plugin Support Shawn

    (@shawnogordo)

    (I accidentally posted another message on this thread that was supposed to go to another thread, please disregard)

    • This reply was modified 8 years, 7 months ago by Shawn.
    • This reply was modified 8 years, 7 months ago by Shawn.
    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello @fmnowling,

    We do test PowerPress with various versions of WordPress. It is possible that a compatibility with previous versions was missed.

    I’ve added code to PowerPress to check for versions of WP 4.5 or greater to the logic in question. This will be in the next release. You are welcome to download and install the current dev (pre release) if you do not want to wait until we officially release the next version. Link: https://downloads.wp.xz.cn/plugin/powerpress.zip

    Your 3 questions…

    1. Is the plugin really tested to work ok with all those versions of wordpress? Did this incompatibility get missed?

    Yes it is tested with those versions and unfortunately this was 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)?

    This is the first time I have seen a compatibility issue with the get_terms function. The next update addresses this bug you reported. A suggestion should not be needed since we are fixing this in PowerPress.

    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?

    You can go to PowerPress Settings > Website tab, unchecked the option labeled “Display Play in new Window Link” and then click save.

    Thread Starter fmnowling

    (@fmnowling)

    Thank you so much! I’m sorry for the delay replying to you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error message get_terms’ is closed to new replies.