• Resolved topgsmir

    (@topgsmir)


    In the CPanel error log file, there are many errors from the store plugin, for example:

    1- PHP Warning: Undefined array key 0 in **/dokan/store-header.php on line 139

    2- PHP Warning: Trying to access array offset on value of type bool in **/dokan/store-header.php on line 167

    3-PHP Warning: Undefined variable $layout in **/dokan-pro/templates/store-reviews.php on line 66

    4-PHP Warning: Trying to access array offset on value of type bool in **/dokan/store-header.php on line 139 , 167

    5-PHP Warning: Attempt to read property “ID” on bool in **/dokan-pro/includes/StoreSeo.php on line 587

    6-PHP Warning: Attempt to read property “ID” on bool in **/dokan-pro/templates/store-reviews.php on line 33 , 45 , 55,10

    7- PHP Warning: foreach() argument must be of type array|object, null given in **/dokan-pro/includes/Coupons/functions.php on line 116

    and …………………

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @topgsmir

    It looks like there might be a conflict between the Dokan and the site theme or another plugin. To troubleshoot this, please try the steps below.

    • Please deactivate all plugins except the Dokan, Dokan Vendor Dashboard, and WooCommerce.

    If the above method doesn’t resolve your problem, go for the next.

    • Switched to any default theme like Twenty Twenty or Storefront.
    • Clear your site cache as well as the browser cache and try the process again.

    You can follow this third-party article to trace the conflict.

    If the problem gets resolved, it can be said that there’s a conflicting theme or plugin on your site.

    I hope the information will help.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @topgsmir

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

    Daniel

    (@kngqe)

    Hello,

    I can explain this error:

    5-PHP Warning: Attempt to read property “ID” on bool in **/dokan-pro/includes/StoreSeo.php on line 587

    This error occurs when accessing a vendor page that doesn’t exist anymore or is misspelled. It’s practically a 404 not found page with a Dokan flavor. This error has existed for as long as I can remember.

    Example: yoursite.com/store/store-name-that-doesn-t-exist/

    Also, I’m familiar with this error: 5-PHP Warning: Attempt to read property “ID” on bool in **/dokan-pro/includes/StoreSeo.php on line 587

    I can’t rember the exact trigger, but appears from time to time also on my end ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Too many errors in the cPanel log’ is closed to new replies.