• Resolved Robert

    (@roberthedlund)


    Hi

    Thank you for an great plugin.
    I tried PHP 8 on my staging site tho, and Im getting some errors in the error log. Does this mean the plugin doesn’t fully support PHP 8 yet?

    Example log:
    [error] 278#278: *2839 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_type" on null in /www/XXXXXXXX/public/wp-content/plugins/ean-for-woocommerce/includes/class-alg-wc-ean-search.php on line 203PHP message: PHP Warning: Attempt to read property "ID" on null in /www/XXXXXXXX/public/wp-content/plugins/ean-for-woocommerce/includes/class-alg-wc-ean-search.php on line 207" while reading response header from upstream, client: 217.213.70.225, server: stagingXXXXXX, request: "GET /produkter/nyheter/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm-staging.sock:", host: "stagingXXXXX", referrer: "https://stagingXXXXX.site/"

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @roberthedlund,

    Thank you ??

    I’ve just tested it on my server with PHP v8.0.0 but unfortunately couldn’t reproduce the issue – it seems to be working fine here, and there are no errors in the logs. And, to be honest, from your log it doesn’t look like an error related to the PHP version.

    Anyway, please update the plugin to the latest v2.3.0. I’ve just added some safe-checks to the plugin code based on what I see in your log. I believe the error should be gone now. Please give it a try and let me know if it’s ok now?

    Thread Starter Robert

    (@roberthedlund)

    @algoritmika Weehoo! After i update the plugin I cant see any more errors ??
    Thank you alot, will defently buy the premium!

    Have a nice weekend! ??

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @roberthedlund,

    Happy to hear it’s solved ?? Let me know if you need anything else. And if you like the plugin, please consider leaving me a rating.

    Hello we need to know the system field to be able to pass the data to an API and we do not know which one to put. They are products with EAN in several variations. We attach screenshot to show it.
    Thank you

    https://ibb.co/GTfhxGf

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @urbanbiker,

    The field key is _alg_ean for all products, including variations, main variable products, simple products, etc. So from your screenshot, I think all you need to do is put _alg_ean in the “EAN source field name” field.

    Hope that helps. Please let me know if you have any questions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 8’ is closed to new replies.