• When I choose “List Members” I get a blank screen with an error:

    ValueError thrown
    Unknown format specifier “k”

    When I choose “Setup” I get a blank screen with an error:

    ValueError thrown
    Unknown format specifier “:”

    All other PDB options seem to open normally.
    The version PDB is 2.4.3
    I have no idea when this error has started to occur and I have not made other changes but updates my plugins and Themes every now and then.

    Is there any known correction to be done?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Can you please be more specific about the page you’re trying to open, is it on the admin side? Is it called “List Participants”

    If it is on the frontend, what is the shortcode you have on that page?

    I don’t recognise the error messages you’re seeing, if you see them again can you post the exact wording of the message?

    Thread Starter vijok

    (@vijok)

    Hi,
    Sorry about the inexact terms, but my WP language is finnish and I don’t remember what the names of the pages are in english.

    Yes, I am working on the Admin side and the page I can’t open is “List participants”. The other page one not opening is “Setup”. Those short messages I sent before are the only error messages appearing.This comes every time I try open these two pages.

    I guess I have to try to disable all other plugins and try to find out which one is causing trouble to Participants Database, if it is the cause for errors.

    Thread Starter vijok

    (@vijok)

    Question: If I try to reinstall Participants Database, does this overwrite the existing data (saved records)?

    Plugin Author xnau webdesign

    (@xnau)

    OK, your last question: The “delete” item on the Plugins page will delete all your settings and the plugin’s database tables.

    So, the best way to delete and start over is to deactivate the plugin, then use FTP or your File Manager to delete the plugin from the plugins directory. All your settings and plugin database will be left in place and when you reinstall, the plugin will use them.

    So: your other problem…for something like this, you need to see what’s coming in to your php error log, this will tell you the specific problem. Be sure to clear the error log before testing so you will see only the results of your test in the log.

    Thread Starter vijok

    (@vijok)

    Ok, after debugging I find these log entries concerning PDb:

    List participants

    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-includes/functions.php on line 7022
    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-includes/functions.php on line 2162
    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-content/plugins/participants-database/classes/PDb_admin_list/delete.php on line 41
    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-content/plugins/participants-database/classes/PDb_admin_list/delete.php on line 42
    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-content/plugins/participants-database/classes/PDb_admin_list/query.php on line 109
    [05-Nov-2022 15:50:32 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-content/plugins/participants-database/classes/PDb_admin_list/process.php on line 38

    ———————-

    Settings
    [05-Nov-2022 15:52:20 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /var/www/vhosts/tume.fi/httpdocs/soittokunta/wp-content/plugins/participants-database/classes/PDb_Settings.php on line 1644

    Plugin Author xnau webdesign

    (@xnau)

    OK, none of those items are issues that would affect your use of the plugin, so we’re still looking for the cause of the problem.

    Try clearing the log, then testing the specific thing you are doing that causes the problem, then look in the log right after to see only what messages the action produced.

    If you are using the plugin’s Debugging Log, it may not be catching the problem, issue that happen at the server level often happen before the plugin can catch them…so to really make sure you’re seeing the error, you need to use a server-based php error log. If you don’t know how to set that up, you should ask your hosting provider.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘List members -option causes error’ is closed to new replies.