• Resolved masoud_wp

    (@masoud_wp)


    Hi,
    After updating the plugin, I get the following error in uploading the csv file.
    instead of choose .csv file to import, the following error is observed.
    Thank you for your help in solving this problem.

    Current Setting:
    Fatal error: Uncaught Error: Call to a member function title() on null in C:\xampp\htdocs\j5\wp-content\plugins\participants-database\upload_csv.php:175 Stack trace: #0 C:\xampp\htdocs\j5\wp-content\plugins\participants-database\participants-database.php(800): include() #1 C:\xampp\htdocs\j5\wp-includes\class-wp-hook.php(287): Participants_Db::include_admin_file(”) #2 C:\xampp\htdocs\j5\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #3 C:\xampp\htdocs\j5\wp-includes\plugin.php(478): WP_Hook->do_action(Array) #4 C:\xampp\htdocs\j5\wp-admin\admin.php(259): do_action(‘participants-da…’) #5 {main} thrown in C:\xampp\htdocs\j5\wp-content\plugins\participants-database\upload_csv.php on line 175

    • This topic was modified 4 years, 1 month ago by masoud_wp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, thanks, I know about this bug and am issuing a fix soon.

    You can fix this in the meantime if you edit the plugin file upload_csv.php

    On lines 175 and 176, you’ll see a term like this (it is used twice):

    Participants_Db::$fields[$match_field]->title()

    change that to:

    Participants_Db::$fields[$match_field]->title

    (you are just removing the parentheses) and the page will load fine.

    Thread Starter masoud_wp

    (@masoud_wp)

    The problem was completely solved.
    Thank you very much for quick response

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical error on upload csv file’ is closed to new replies.