[SOLVED] PHP erors in logs

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED] PHP erors in logs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8030
    VD
    Participant

    Hi! See this in my php logs.

    [13-Aug-2017 12:12:08 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/View/calculator/conditional_logic.php on line 63
    [13-Aug-2017 12:12:08 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/View/calculator/conditional_logic.php on line 63

    [13-Aug-2017 12:37:39 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/View/fields/radio_options.php on line 30
    [13-Aug-2017 12:38:07 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/View/fields/radio_options.php on line 30

    [13-Aug-2017 12:41:20 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/Helper/CalculatorHelper.php on line 236
    [13-Aug-2017 12:41:30 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/domisolnce/html/wp-content/plugins/woo-price-calculator/admin/awspricecalculator/Helper/CalculatorHelper.php on line 236

    `
    ### WordPress Environment ###

    WC Version: 3.1.1
    Log Directory Writable: ✔
    WP Version: 4.8.1
    WP Multisite: ✔
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: ru_RU

    ### Server Environment ###

    Server Info: nginx/1.13.4
    PHP Version: 7.1.8-2+ubuntu16.04.1+deb.sury.org+4
    PHP Post Max Size: 50 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g

    SUHOSIN Installed: –
    Max Upload Size: 10 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    `

    #8031
    Paul
    Participant

    Hi!
    There are problems with the functionality of the plug-in?
    If there are not problems i think you can just hide this warnings.
    The warnings are probably generated because the conditional statements are not used or valued.
    Otherwise can you tell me what functionality doesn’t work?
    We will fix this log warning for the next release.
    Regards
    Paul
    Member of WPC Team Support

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.