When switching to PHP 8.0.3 your plugin breaks the site!

WCMp Core

Resolved
Viewing 17 reply threads
  • Author
    Posts
    • #122321
      l.gan
      Participant

      When switching to PHP 8.0.3 your plugin breaks the site!
      I received a report by mail

      Problematic plugin: Multivendor Marketplace Solution for WooCommerce – WC Marketplace (version 3.7.4)
      PHP version 8.0.3
      what to do?

    • #122328

      Hi,
      Our WCMp plugin is compatible with the PHP version till 8.0.6. We are also developing in version 8.0.6. Here is the screenshot https://scrnli.com/kSVOzL8bUc7CXZ. You may have some other plugin issues. If you have an issue with wcmp then you surely have debug log. Please check your log and let us know if it related to our plugin.

    • #122347
      l.gan
      Participant
      This reply has been marked as private.
    • #122360
      l.gan
      Participant
      This reply has been marked as private.
    • #122535
      l.gan
      Participant

      anyone?

    • #122552

      l.gan, sorry somehow we missed this thread.
      Our team is checking your error log.

    • #122565

      Hi,
      As we already told you we are currently supported with PHP version 8.0.3. What we understand from your error most probably you are not using the latest version of wcmp plugin. Because “PHP Fatal error: Uncaught ValueError: Unknown format specifier “a” ” this a doesn’t exist in our latest version of code.
      Here is the line no 67 code from our GitHub — https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/classes/class-wcmp-post-commission.php#L67
      Please check once and let us know.
      Thanks

    • #122571
      l.gan
      Participant

      Multivendor Marketplace Solution for WooCommerce – WC Marketplace
      version 3.7.4 | – this is what I see on the plugins page – and there is no way to update the plugin again.

      But at the bottom, where your plugin is written, it says that Version 5.7.2.

      can this situation arise if I use your suggested pkhp earlier to return the old vendor page?

    • #122572
      l.gan
      Participant

      Multivendor Marketplace Solution for WooCommerce – WC Marketplace
      version 3.7.4 | – this is what I see on the plugins page – and there is no way to update the plugin again.

      But at the bottom, where your plugin is written, it says that Version 5.7.2.

      can this situation arise if I use your suggested pkhp earlier to return the old vendor page?

    • #122575
      l.gan
      Participant

      sorry for my stupid past answer about different versions, 5 7 2 this is the version of the work)))

      in any case, on the plugins page, I see that this is the latest version and no updates are available to me

    • #122579
      l.gan
      Participant

      I am also sending you line 67 of the version of the plugin that I have installed.

    • #122649

      Hi,
      But as per your error says that line no 67 has an “a” Unknown format specifier. I mean how is it possible. Error coming from different and code are different. Can you please do one thing. Just delete your existing wcmp plugin and add a new from WordPress. And also switch to a default theme and active only woocommerce and wcmp plugin. We are also using php 8.0.6. Please do this small test and let us know the issue is fixed or not. We are waiting for your reply.
      Thanks

    • #122656
      l.gan
      Participant

      Hi, thanks for your reply and support

      I reinstalled your plugin again
      Turned off all plugins, switched to php version 8, and started to turn them on one by one. Plugin issue https://wordpress.org/plugins/loco-translate/

      The problem is repeated on my staging site so I speak with confidence.

      I even uninstalled the plugin and downloaded it again from the directory – the error occurs again. But I repeat, the error log does not change, line 67 is repeated.

    • #122669
      l.gan
      Participant

      The situation was also noticed when switching to version 8 of php – an error occurs on the checkout page Failed to load resource: /? Wc-ajax = update_order_review: 1

      (I note this is not a conflict with the topic, because this is already checked)
      I disabled all plugins except vookomers, including yours – everything worked. When enabling your plugin, the error is repeated.

      This leads to the fact that further actions with the product are impossible, this does not allow you to proceed to payment.

    • #122725

      Hi,
      We are completely confused by your words. Maybe we are not able to get your point. Can you please make a small video. This means when and how your errors come. And also share your stagging site access. So that we can check from your video.
      Thanks

    • #122657
      l.gan
      Participant
      This reply has been marked as private.
    • #123480
      l.gan
      Participant

      Hello again, I think I have found a plugin that is causing this problem.

      When activating the plugin, a PHP error occurs with the commission line 67.

      I recorded a video for you, and took a screenshot with an error.

      Clarification: I have already used the loco translate plugin before and it was installed, when switching to php 8, I started to get this error – I wrote it above. Removing the loco translate plugin solves the problem, but I need this plugin.

      https://disk.yandex.ru/i/MS-xqkWajZjrXA

      Can you tell me what to do and how to fix it?

    • #123527
      l.gan
      Participant

      Hello again, problem solved.
      The situation occurred due to incorrect translation in the plugin loco translate.

Viewing 17 reply threads

The topic ‘When switching to PHP 8.0.3 your plugin breaks the site!’ is closed to new replies.