Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7488879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:06:12+00:00 2026-05-29T15:06:12+00:00

I’m getting the following error message: Warning: Missing argument 7 for slider_getinfo_by_term(), called in

  • 0

I’m getting the following error message:

Warning: Missing argument 7 for slider_getinfo_by_term(), called in
/home/content/51/8870051/html/asan/wp-content/plugins/unpointzero-slider/Slider.php
on line 37 and defined in
/home/content/51/8870051/html/asan/wp-content/plugins/unpointzero-slider/upzSlider.php
on line 207

on this page: http://autisticadvocacy.uniongraphics.org/

I have looked around at other posts about this problem so I understand that it’s probably a syntax issue (missing a closing tag somewhere?), but I don’t know how to fix it.

The code around Slider.php line 37 is

    if($taxoname!=null && $taxoname!=""){
$allinfos = slider_getinfo_by_term($taxoname,$term,     $slider_view_number,$slider_title_max_char,$slider_title_thumb_max_char,$slider_desc_max_char);
}
elseif (($slider_type==1) || ($slider_type==3))  {
$allinfos = slider_getinfo_by_cat($slider_cat_id,$slider_view_number,$slider_fetch,$slider_title_max_char,$slider_title_thumb_max_char,$slider_desc_max_char);
}else{
$allinfos = slider_getpages($slider_cat_id,$slider_view_number,$slider_title_max_char,$slider_title_thumb_max_char,$slider_desc_max_char);
}

and upzSlider.php around line 207 is

function slider_getinfo_by_term($taxoname, $term, $number, $fetch,$slider_title_max_char,$slider_title_thumb_max_char,$slider_desc_max_char) {
global $post;
global $intername; // used as term
global $taxonamesc; // taxonomy
global $usingshort;

   $myposts = get_posts("post_status=\"publish\"&$taxoname=\"$term\"&numberposts=$fetch");
$postok_number = 0;

foreach($myposts as $post) :
    if(has_post_thumbnail($post->ID)) {
    $post_perma[] = get_permalink($post->ID);
    // Rcuperation des options
    $title = "";
    $title = tronc_str(__($post->post_title),$slider_title_max_char);
    $post_title[] = $title;

    $thumb_title = "";
    $thumb_title = tronc_str(__($post->post_title),$slider_title_thumb_max_char);
    $post_thumb_title[] = $thumb_title;

    $content = "";
    $post_excerpt = get_option('slider-contentexrpt');
    if($post_excerpt==1) {
    $content = tronc_str(__($post->post_excerpt),$slider_desc_max_char);
    }
    else {
    $content = tronc_str(__($post->post_content),$slider_desc_max_char);
    }
    $post_content[] = $content;

    $thumb[] =  get_the_post_thumbnail( $post->ID,'upz-big');

    $thumb_mini[] =  get_the_post_thumbnail( $post->ID,'upz-small');

        if(sizeof($post_title)==$number) {
        wp_reset_query();
        return array($post_perma,$post_title,$post_thumb_title,$post_content,$thumb,$thumb_mini);
        }       

    }
endforeach;
wp_reset_query();
return array($post_perma,$post_title,$post_thumb_title,$post_content,$thumb,$thumb_mini);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T15:06:13+00:00Added an answer on May 29, 2026 at 3:06 pm

    Function definition:

    function slider_getinfo_by_term($taxoname, $term, $number, $fetch,$slider_title_max_char,$slider_title_thumb_max_char,$slider_desc_max_char)
    

    Function call:

    slider_getinfo_by_term($taxoname,$term, $slider_view_number,$slider_title_max_char, $slider_title_thumb_max_char,$slider_desc_max_char);
    

    Comparison definition -> call:

    $taxoname ->$taxoname
    $term -> $term
    $number -> $slider_view_number
    $fetch -> $slider_title_max_char
    $slider_title_max_char -> $slider_title_thumb_max_char
    $slider_title_thumb_max_char -> $slider_desc_max_char
    $slider_desc_max_char -> your error
    

    I’d say that you’re missing $fetch argument, whatever it is, from your function call 🙂

    Edit: $fetch analysis:

    You’re using $fetch only on this line:

    $myposts = get_posts("post_status=\"publish\"&$taxoname=\"$term\"&numberposts=$fetch");
    

    So I’d guess it’s number and your function call should look like:

    $fetchNumber = 8; // Somewhere before your function call
    slider_getinfo_by_term($taxoname,$term, $fetchNumber, $slider_view_number,$slider_title_max_char, $slider_title_thumb_max_char,$slider_desc_max_char);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
i got an object with contents of html markup in it, for example: string
I have thousands of HTML files to process using Groovy/Java and I need to
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.