• Resolved vcusoft

    (@vcusoft)


    Hi there

    There’re some issues here after activating the plugin, do you have any idea on how to fix them please?

    Warning: Illegal string offset ‘wpi-support’ in /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Tools/FlashMessages.php on line 52

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Tools/FlashMessages.php on line 85

    Thank you very much.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    I cannot reproduce this.
    Do you have woocommerce and polylang already set up?
    Try something like:
    delete from wp_options where option_name like ‘hyyan-wpi-flash-messages’
    as it sounds like this option is corrupt in some way.
    Otherwise please report issue fully on:
    https://github.com/hyyan/woo-poly-integration/issues
    as there is no support on this forum

    Thread Starter vcusoft

    (@vcusoft)

    Hi Jonathan,

    Thanks so much for getting back. We just deactivated the plugin that’s why the bug cannot be reproduced.

    However, if you don’t mind we can provide you the backend access to have a look.

    Thank you very much again.

    Best

    • This reply was modified 5 years, 8 months ago by vcusoft.
    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    no, I mean I cannot reproduce in my test environments, I have tried various versions of the upgrade process, deliberately creating errors which would cause more messages to appear etc etc, normally it is all working so need to understand more about your environment.
    please report with more details on:
    https://github.com/hyyan/woo-poly-integration/issues
    as

    Thread Starter vcusoft

    (@vcusoft)

    Thank you sooo much, Jonathan! I followed your instruction to activate the plugin and found “hyyan-wpi-flash-messages” in the table and deleted it. Now the error messages & bugs gone.

    Now will double check on the products’ data.

    Very much appreciated!

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    actually if you send the value you have for eg:

    select option_value from wp_options where option_name like 'hyyan-wpi-flash-messages'

    that would help debug and explain what happened.

    ok I see you are ok now, I will try to remember to ask for that value if it happens again.

    • This reply was modified 5 years, 8 months ago by jomo.

    Hi. Have same problem(
    https://joxi.ru/n2YZ3nKsb7DNDA

    option value of hyyan-wpi-flash-messages – A

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Can’t see the option value,
    Please report it on:
    https://github.com/hyyan/woo-poly-integration/issues

    And then delete this value

    Thank you! Deleting it worked like a charm (I likely caused the problem myself by switching site main language, uninstalling and reinstalling this plugin…but this worked) You learn something new every day ??

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    logged here: https://github.com/hyyan/woo-poly-integration/issues/436
    and defensive code added to what will be next 1.4.3 release.
    If anyone else does have this issue, please check what you have on:
    select option_value from wp_options where option_name like ‘hyyan-wpi-flash-messages’
    and add the value in a comment on https://github.com/hyyan/woo-poly-integration/issues/436
    then by all means
    delete from wp_options where option_name like ‘hyyan-wpi-flash-messages’
    or apply the fix from github to resolve in advance of 1.4.3 becoming available.

    Dear All,

    I had the same issue.

    What happened:
    1-After upgrading to the new version, I have to go back to the Plugin setting and choose again the translate Categories feature!
    2-Then after doing that, I received the same error: wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Tools/FlashMessages.php on line 52

    How I solved it?
    1-I downloaded the new “FlashMessages.php” from here:
    https://github.com/hyyan/woo-poly-integration/blob/master/src/Hyyan/WPI/Tools/FlashMessages.php
    2-and then change this new code with the previous one in my WordPress.

    Now the error is gone!

    Cheers!
    Erafn

    • This reply was modified 5 years, 8 months ago by erfanit.
    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    1.4.3 is now available on github, we would be grateful for early adopters feedback on that
    https://github.com/hyyan/woo-poly-integration/releases
    before publishing on wordpress

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Bugs on latest updates’ is closed to new replies.