Home Forums Plugins WooCommerce Photo Reviews Invalid argument supplied for foreach()

Invalid argument supplied for foreach()

  • Author
    Posts
  • #55089

    Andrew Callaghan
    Participant

    Hi,

    Just installed your plugin and after adding a review get the following error:

    Warning: Invalid argument supplied for foreach() …../wp-content/plugins/woocommerce-photo-reviews/frontend/frontend.php on line 2465

    Please advise

    System detail:

    WordPress Version 5.3.2
    WordPress Multisite No
    WordPress Memory Limit 256M
    WordPress Debug Mode No
    WordPress Debug Log No
    WordPress Script Debug Mode No
    WordPress Cron Yes
    WordPress Alternate Cron No
    Background tasks Yes

    Active Theme
    Divi Child by Elegant Themes – 4.4.1.1584242116
    Divi (Parent) by Elegant Themes – 4.4.1

    Active Plugins
    Child Theme Configurator by Lilaea Media – 2.5.2
    Divi Coming Soon by Divi Life — Tim Strifler – 1.0.1
    ManageWP – Worker by GoDaddy – 4.9.3
    Search & Replace by Inpsyde GmbH – 3.2.1
    Surbma | Divi & Gravity Forms by Surbma – 2.2
    WooCommerce by Automattic – 4.0.1
    WooCommerce Bulk Editor by realmag777 – 1.0.5.1
    WooCommerce Photo Reviews Premium by VillaTheme – 1.1.3.4
    WP Mail SMTP by WPForms – 1.9.0

    Server Environment
    Web Server
    Software Apache/2.4.41 (Unix) OpenSSL/1.1.1
    Port 443
    Document Root /srv/users/maskssys/apps/masks/public

    PHP
    Version 7.4.4
    Memory Limit (memory_limit) 256M
    Maximum Execution Time (max_execution_time) 30
    Maximum File Upload Size (upload_max_filesize) 512M
    Maximum File Uploads (max_file_uploads) 20
    Maximum Post Size (post_max_size) 1024M
    Maximum Input Variables (max_input_vars) 5000
    cURL Enabled Yes (version 7.58.0)
    OpenSSL OpenSSL 1.1.1 11 Sep 2018 (269488143)
    Mcrypt Enabled No
    Mbstring Enabled Yes
    Loaded Extensions Core, date, libxml, openssl, pcre, sqlite3, zlib, calendar, ctype, dom, fileinfo, filter, ftp, hash, iconv, json, SPL, PDO, bz2, posix, readline, Reflection, session, SimpleXML, snmp, soap, sockets, standard, sodium, tokenizer, xml, xmlreader, xmlwriter, zip, mysqlnd, cgi-fcgi, bcmath, Phar, curl, mbstring, gd, gettext, gmp, imap, intl, ldap, exif, mysqli, odbc, pcntl, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, shmop, tidy, xmlrpc, xsl, Zend OPcache

    MySQL
    Version 5.7.29
    Database Character Set utf8mb4
    Database Collation utf8mb4_unicode_ci

    Date and Time
    WordPress (Local) Timezone UTC+0
    MySQL – Universal time (UTC) 2020-03-27 09:08:56
    MySQL – Local time March 27, 2020 at 9:08 am
    PHP – Universal time (UTC) 2020-03-27 09:08:56
    PHP – Local time March 27, 2020 at 9:08 am

    Thanks
    Andrew

You must be logged in to see replies to this topic. Click here to login or register