• Resolved julianauno

    (@julianauno)


    I got this error after updating my website and plugins, I was looking for information about it but found nothing.
    Any solution?

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function CUAR_PostOwnerAddOn::get_meta_query_post_owned_by(), 1 passed in /home/difemcl/public_html/wp-content/plugins/customer-area-search/src/php/search-addon.class.php on line 166 and exactly 2 expected in /home/difemcl/public_html/wp-content/plugins/customer-area/src/php/core-addons/post-owner/post-owner-addon.class.php:99 Stack trace: #0 /home/difemcl/public_html/wp-content/plugins/customer-area-search/src/php/search-addon.class.php(166): CUAR_PostOwnerAddOn->get_meta_query_post_owned_by(3) #1 /home/difemcl/public_html/wp-content/plugins/customer-area-search/src/php/search-page-addon.class.php(152): CUAR_SearchAddOn->find_private_content(Array) #2 /home/difemcl/public_html/wp-content/plugins/customer-area-search/src/php/templates/customer-search-content.template.php(20): CUAR_SearchPageAddOn->print_search_results() #3 /home/difemcl/public_html/wp-content/plugins/customer-area/src/php/core-classes/addon-page.class.php(390): include(‘/home/difemcl/p…’) #4 in?/home/difemcl/public_html/wp-content/plugins/customer-area/src/php/core-addons/post-owner/post-owner-addon.class.php?on line?99

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas

    (@tlartaud)

    Hello,

    You are actually getting this error because you updated the WPCA main plugin before the Search add-on while the Search add-on was actually activated.

    Our last updates includes somes changes for some functions in both the main plugin and its add-ons. We recommend that you follow the update procedure.

    Now that you are stuck in an issue coming from mismatch versions between the main plugin and one of its addon, I would recommend that:

    • you completely delete the add-ons from your FTP folder.
    • re-download last versions of the add-ons from your account.
    • upload them to your FTP folder, and reactivate them.

    You wont lose any data by removing an add-on, don’t worry.

    However, next time you’ll update the plugins, take care about the procedure. Disable the addons and plugins first, update, and then reactivate them.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Uncaught ArgumentCountError: Too few arguments to function’ is closed to new replies.