• Resolved mamadtell

    (@mamadtell)


    Hi
    First I wanna thank you for your great plugin.
    I have no problem with the plugin and it works fine, but I get some warnings before sign up form. here are the errors:

    Warning: Illegal string offset ‘module’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\participants-database.php on line 895

    Warning: Illegal string offset ‘post_id’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\participants-database.php on line 881

    Warning: Illegal string offset ‘module’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\classes\PDb_Signup.class.php on line 133

    Warning: Illegal string offset ‘module’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\classes\PDb_Signup.class.php on line 137

    Warning: Illegal string offset ‘module’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\classes\PDb_Signup.class.php on line 149

    Warning: Illegal string offset ‘module’ in C:\xampp\htdocs\WP\wp-content\plugins\participants-database\classes\PDb_Signup.class.php on line 155

    If you tell me how to get rid of it I would be even more thankful
    cheers

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

    (@xnau)

    First, I would suggest you turn off messages like this showing on your website in general, there is a PHP configuration called “display_errors” that should be off on live sites.

    Meanwhile, this is a new message coming up in code that hasn’t changed for years….hmm.

    Thread Starter mamadtell

    (@mamadtell)

    So its OK to ignore it. well thanks
    I have another question BTW, I need that login plugin but since I live in Iran I don’t have access to PayPal or other international credit cards, is there any other source I can get it from?

    Plugin Author xnau webdesign

    (@xnau)

    I recently added 2Checkout to my website, which I think will work for Iran. If that won’t work, contact me at [email protected]

    It your want to try a code change to stop those messages it’s simple.

    On line 774 of participants-database.php you’ll find:

    $shortcode_parameters = self::apply_filters( 'shortcode_call_' . $tag, $params );

    change this to:

    $shortcode_parameters = self::apply_filters( 'shortcode_call_' . $tag, (array) $params );

    that should solve it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘some odd warnings’ is closed to new replies.