• Resolved diddiausde

    (@diddiausde)


    Heyhey,

    this is maybe a topic for the real support since it is about a paid wpcm plugin. But the topic is quite general and interesting for everybody, so I decided to post it here and let you know.

    I receive a lot of mail by the website itself, which claims the following:
    (An Error of type E_Error in line blablabla)

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 214 der Datei /home/drhv/public_html/wp-content/plugins/wpcm-sponsors-pro/includes/admin/admin-dashboard.php verursacht. Fehlermeldung: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type int|float, string given in /home/drhv/public_html/wp-content/plugins/wpcm-sponsors-pro/includes/admin/admin-dashboard.php:214

    So it is about the Sponsors Pro Plugin and a type error I have seen with activated DEBUG since the beginning. But since a few days I get that error message via mail and only now it is starting to annoy me.

    The same or similar “bug” is to be found in the sidebarwidget for results, it is also a type error and a missing variable:

    Notice: Undefined variable: competition_meta in C:\Tresor\Server\htdocs\drhv06\wp-content\plugins\wp-club-manager\includes\wpcm-match-functions.php on line 322

    Notice: Trying to access array offset on value of type null in C:\Tresor\Server\htdocs\drhv06\wp-content\plugins\wp-club-manager\includes\wpcm-match-functions.php on line 322

    Hope you can do something about it within the next updates. ??
    Have a nice week.

    greetings
    Stephan

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Robert Fortaleza

    (@robfrtlz)

    Hi Stephan,

    This is Robert from the support team! Thanks for bringing this to our attention. I see that you are encountering a couple of errors.

    I attempted to replicate the error on my test site, and while I was successful, it appears to be inconsistent. Unfortunately, I couldn’t delve deeper into the investigation based solely on my test site.

    Please open a support ticket on our platform. This allows us to conduct a more thorough investigation by cross-referencing my test site with yours. Since sharing login details here is against WordPress policies, kindly create a ticket on our support forum and provide as many details as possible.

    Thank you and talk to you soon!

    Thread Starter diddiausde

    (@diddiausde)

    Hey guys, thanks for the solution. ??

    I would love to find a way to give you hints about small bugs I find. I’m working a lot with wpcm data in my own plugins, so I always stumble over something. I’m not too firm with a professional git used by many others or your code standards, so I dont want to do it in your git directly. But I also dont want to open a ticket for every small bug and be the stressful dude. ??

    An example: this one gives me about 5000 log entries every day and I wonder if only me sees this warning.

    PHP Warning: Undefined array key “checked” in /home/drhv/public_html/wp-content/plugins/wp-club-manager/includes/wpcm-match-functions.php on line 544

    thanx in advance

    Thread Starter diddiausde

    (@diddiausde)

    Its by the way this line. And since if ( $stats['checked'] ) is not wrong, I wonder if it has something to do with my php warning level, maybe?

    By the way the $key -variable here, needs to be $id I think, since the foreach-loop before uses $id as key.

    if ( $stats['checked'] ) {
    $output[ $key ] = $stats;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘E_ERROR-Messages for WPCM Sponsors Pro’ is closed to new replies.