• Resolved moein

    (@moeinkd)


    Shield plugin has been giving this message in the error logs file in the host
    What is the reason and the solution?

    An error of type E_ERROR on line 158 of the file /home/***/public_html/wp-content/plugins/persian-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php Uncaught TypeError: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator() must implement interface Symfony\Component\Translation\TranslatorInterface, instance of Carbon\Translator given, called in /home/***/public_html/wp-content/plugins/persian-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php on line 848 and defined in /home/***/public_html/wp-content/plugins/persian-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php:158
    Stack trace:
    #0 /home/***/public_html/wp-content/plugins/persian-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php(848): Carbon\CarbonInterval->setLocalTranslator(Object(Carbon\Translator))
    #1 /home/***/public_html/wp-content/plugins/wp-simple-firewall/src/lib/src/ActionRouter/Actions/Render/FullPage/Block/BlockIpAddressShield.php(66): Carbon\Carbon->diffForHumans()
    #2 /home/***/public_html/wp-content/plugins/wp-simple-firewall/src/lib/src/ActionRouter/Actions/Render/FullPage/Block/BaseBlock.php(24): Fernle

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter moein

    (@moeinkd)

    Of course, I must say that part of the settings of the shield plugin is unusable… the users section and view reports and…

    Plugin Author Paul

    (@paultgoodchild)

    This error isn’t from Shield, but is actually within the woocommerce perisan plugin.

    This is likely due to a conflict in the PHP Carbon library. They probably have an older version. You will want to reach out to the developers to see if they’ll upgrade their library. We won’t be downgrading our library, sorry.

    The UI of the plugin is probably unusable because of the errors caused by the library conflict…

    Plugin Author Paul

    (@paultgoodchild)

    We’ve done a bit more digging into this issue and we think we can work around this conflict from our side. We were incorrect in saying it was with the Carbon library- it’s a different library. So with our next release, hopefully we can upgrade the dependencies so that there are no conflicts.

    Thread Starter moein

    (@moeinkd)

    Thank you for your good support
    I hope this problem will be solved because the host log files are full of such errors. If the success in solving the problem was low, I hope you can make this plugin ignored by Persian WooCommerce plugin

    With respect

    Plugin Author Paul

    (@paultgoodchild)

    If you like, you can try the latest version that is in beta:

    https://downloads.www.ads-software.com/plugin/wp-simple-firewall.18.2.2.zip

    You’ll need to download the zip and install it manually. If you run into any serious issues, please uninstall this version and install the latest stable version – please do let us know if you have any issues with the beta so we can fix it.

    Thread Starter moein

    (@moeinkd)

    Great, thank you
    Everything works well and your job is very valuable
    Sincerely, with respect

    Plugin Author Paul

    (@paultgoodchild)

    That’s great news. Thank you for reporting it and also testing it with our beta version.

    Would you be open to leaving us a review of Shield Security if you feel you’re getting good value from our service?

    Thread Starter moein

    (@moeinkd)

    you’re welcome. Proudly

    Plugin Author Paul

    (@paultgoodchild)

    Thanks so much, we really appreciate it! =)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Critical incompatibility with persian woocommerce plugin’ is closed to new replies.