• Resolved thebarkacademy

    (@thebarkacademy)


    I am repeatedly getting the following warning in my php log. Can anyone help with me with a snippet to make this work as it should?

    Warning: session_start(): Cannot start session when headers already sent in /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/setting/general.php on line 78

    Timestamp: 2020-01-05 12:33:44 UTC

    Stack Trace
    ———–
    1. session_start()
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/setting/general.php:78
    2. Zprint\Setup->Zprint\{closure}(Zprint\Aspect\Page)
    3. call_user_func(Closure, Zprint\Aspect\Page)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/setting/index.php:15
    4. Zprint\Setup->Zprint\{closure}(Zprint\Aspect\Page)
    5. call_user_func(Closure, Zprint\Aspect\Page)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/includes/Aspect/Base.php:55
    6. Zprint\Aspect\Base->Zprint\Aspect\{closure}()
    7. call_user_func(Closure)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/includes/Aspect/InstanceStorage.php:38
    8. Zprint\Aspect\InstanceStorage->asCurrentStorage(Closure)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/includes/Aspect/Base.php:56
    9. Zprint\Aspect\Base->scope(Closure)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/setting/index.php:19
    10. require_once(‘/srv/htdocs/wp-content…’)
    /srv/htdocs/wp-content/plugins/print-google-cloud-print-gcp-woocommerce/includes/Setup.php:39
    11. Zprint\Setup->init(”)
    /wordpress/core/5.3.2/wp-includes/class-wp-hook.php:288
    12. WP_Hook->apply_filters(null, Array(1))
    /wordpress/core/5.3.2/wp-includes/class-wp-hook.php:312
    13. WP_Hook->do_action(Array(1))
    /wordpress/core/5.3.2/wp-includes/plugin.php:478
    14. do_action(‘plugins_loaded’)
    /wordpress/core/5.3.2/wp-settings.php:392
    15. require_once(‘/wordpress/core/5.3.2/…’)
    /srv/htdocs/wp-config.php:82
    16. require_once(‘/srv/htdocs/wp-config.php’)
    /wordpress/core/5.3.2/wp-load.php:42
    17. require_once(‘/wordpress/core/5.3.2/…’)
    /wordpress/core/5.3.2/wp-cron.php:44

    Context
    ——-
    URL : /wp-cron.php?doing_wp_cron=1578227623.7841229438781738281250
    Referer : https://thebarkacademy.com/wp-cron.php?doing_wp_cron=1578227623.7841229438781738281250
    HTTP Method : POST
    HTTP Host : thebarkacademy.com
    HTTP Status : 200
    isSSL : Yes
    Current Filter : plugins_loaded
    Execution Time : 0.293 s
    Memory Usage : 40.86 MiB
    PHP SAPI : fpm-fcgi

Viewing 1 replies (of 1 total)
  • Plugin Author bizswoop

    (@bizswoop)

    Following up on your warning error message. Cross-referencing the forum post on the POS forum here, as the warning logs are related.

    The log is generated as part of a debug testing effort for select customers and tax classes for the Print template functionality. We are also pushing a new release 3.0.8, this warning log will probably not generate now.

    As mentioned on the other post as well, you may encounter other warning logs when running in WP DEBUG mode, we try to address them as quickly as possible with new releases depending on the event log.

    If you encounter any specific issues or bugs while using the Print plugin functionality and generating print jobs, please feel free to open up a forum issue with details.

Viewing 1 replies (of 1 total)

The topic ‘Session Start Warnings in PHP Log’ is closed to new replies.