Error on head of page

WCMp Core

Error on head of page Resolved

Viewing 19 reply threads
  • Author
    Posts
    • #91337
      WCMp Admin
      Keymaster

      Object from empty value in /home/customer/www/dinein.club/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-shipping-gateway.php on line 66

      Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/dinein.club/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-shipping-gateway.php:66) in /home/customer/www/dinein.club/public_html/wp-includes/functions.php on line 6029

    • #91372
      carl
      Participant

      FYI, that’s not my issue or my site. My issue follows:

      I had the identical issue as the last poster before me, tomsychau at https://wordpress.org/support/topic/error-on-head-of-page/

      My site was barely functional and had the following above the header:

      Warning: Creating default object from empty value in /home/lms91966/public_html/lms/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-shipping-gateway.php on line 66

      Warning: Cannot modify header information – headers already sent by (output started at /home/lms91966/public_html/lms/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-shipping-gateway.php:66) in /home/lms91966/public_html/lms/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Helper.php on line 68

      I chased down the issue and noticed the above poster reached out for help some four hours after your last update. That lead me to suspect the issue was with version 3.4.10.

      I renamed the plugin directory and, sure enough, the problem went away. Of course, that meant I couldn’t properly process payments so that was just a test.

      I installed WP Rollback, rolled back to version 3.4.9 and everything is smooth sailing again.

      Just thought you’d like to know.

    • #91385

      @carl, we didn’t face any such issue on our end.

      Can you please share a temporary admin and ftp access, so we can check this issue. While sharing the access don’t forget to mark the response as private.

    • #91480
      carl
      Participant
      This reply has been marked as private.
    • #91513
      This reply has been marked as private.
    • #92010
      print88
      Participant

      After update to version 3.4.10 I am still facing the same problem.

      Upon trying to rollback, I was unable as well as the link has expired.

      Can you help?

    • #92042
      carl
      Participant

      Prit88, I’m not sure what link you’re referring to. Here’s the WP Rollback plugin: https://wordpress.org/plugins/wp-rollback/

      FYI, this issue is still on my site. WP updated to V3.4.10 without my knowledge and the issue is still there. Rolling back to 3.4.9 fixed it, once again.

    • #92043
      print88
      Participant

      Yes, I was able to fix it upon rolling back now.
      Any word on update from WCMP?

    • #92044
      print88
      Participant

      After update to PHP 7.3 the update seems to work fine.

    • #92050
      print88
      Participant

      I also had to disable wordpress cache in wp-config

    • #92051
      carl
      Participant

      No word other than ‘We can’t reproduce it on our end”. I’ll look into a PHP upgrade. Thanks for that tip.

    • #92086

      @car, please do let us know whether increasing the php version, fixed the issue?

    • #92164
      carl
      Participant

      It did not

    • #92211

      @carl, please do share the FTP access, so we can debug this.

      Make sure the this is a development/staging site. While sharing the access don’t forget to mark the response as private.

    • #92435
      print88
      Participant

      Has this error been solved?

      Error notification
      For site https://mika-sushi.ca
      • Error Level: E_NOTICE
      • Message: Trying to get property ‘token’ of non-object
      • File: /home/customer/www/dinein.club/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-shipping-gateway.php
      • Line: 65
      • Request: /
      • Referrer:

    • #92514
      print88
      Participant

      Any update on this?

    • #92522

      @print88, @carl, it seems like somehow the WC shipping is called before creating WCMp Object. We will fix this in our next update, which will be released next week.

    • #92555
      carl
      Participant

      Awesome. Thanks for the update.

    • #92787
      carl
      Participant

      V3.4.11 seems to have fixed the issue. Thanks for your support.

    • #92806

      Thanks for the confirmation @carl

Viewing 19 reply threads

The topic ‘Error on head of page’ is closed to new replies.

COVID-19 Outbreak: WCMp team is supporting business affected by coronavirus

Read the Message Buy at Slashed Price