How To Remove the Following Error "Warning: call_user_func_array() expects param

This topic contains 16 replies, has 4 voices, and was last updated by  Kiran 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #362282

    Ashish Jha
    Free User
    Post count: 10
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'geodir_cpt_pt_desc' not found or invalid function name in /home/content/n3pnexwpnas02_data02/05/3847405/html/wp-includes/class-wp-hook.php on line 298

    On the category page i found this error i was using divi theme previously with Gd plugin And after switching it to supreme directory i found this error.
    I have also an issue on the gd homepage where i want to delete the geo directory search bar and popular categories from above as i already have it in my page and don’t want it twice.

    #362284

    Ashish Jha
    Free User
    Post count: 10

    This search Bar and popular categories i want to remove i just want the simple image here

    #362287

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you try using this custom CSS to remove that? Insert into GD > Design > Scripts > Custom Style CSS. If it doesn’t work, please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    
    
    .home.page-template .geodir-advance-search-default,
    .home.page-template .geodir-category-list-in {
        display:none!important;
    }
    #362297

    Ashish Jha
    Free User
    Post count: 10

    HAY thanks kor, but i,m annoyed with this error could you please help me here
    Error Page Link

    
    
    
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'geodir_cpt_pt_desc' not found or invalid function name in /home/content/n3pnexwpnas02_data02/05/3847405/html/wp-includes/class-wp-hook.php on line 298
    #362299

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.

    #362301

    Ashish Jha
    Free User
    Post count: 10
    This reply has been marked as private.
    #362304

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Please also share your login URL.

    Thanks!

    #362307

    Ashish Jha
    Free User
    Post count: 10
    This reply has been marked as private.
    #362310

    Ashish Jha
    Free User
    Post count: 10

    Would you please Remove the Search and popular Categories From the Homepage above the image?

    #362313

    Ashish Jha
    Free User
    Post count: 10
    This reply has been marked as private.
    #362314

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’ve just removed the Search and popular Categories from the Homepage and I’m going to ask a developer to take a look at that error message.

    
    
    .sd-homepage .geodir-advance-search-default,
    .sd-homepage .geodir-category-list-in {
        display:none!important;
    }
    #362318

    Ashish Jha
    Free User
    Post count: 10

    I Can’t Tell you how helpful it is for me thanks a lot.
    I trust you guys you will solve the error soon thanks waiting 🤗🤗

    Hay can i add a text there like a page name to show there or a little Messege to show there.? On the image? Where to edit ?

    #362337

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    that is just a warning, we take note of them all and we fix them in future versions.

    You shouldn’t be running with debug on, with debug off that warning will not compromise the app.

    Please see: https://wpgeodirectory.com/docs/faqs/help-i-get-a-php-warning-on-my-pages/

    Thanks

    #362384

    Ashish Jha
    Free User
    Post count: 10

    What is debug what should i do know to remove the warning ?

    #362386

    Ashish Jha
    Free User
    Post count: 10

    After removing the custom post type plugin the warning disappear so i think there is something error in that
    Please make it easy for me..i’m so confused right now

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount