Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Page translations #2

Closed
akoslovasz opened this issue Apr 29, 2015 · 2 comments
Closed

Page translations #2

akoslovasz opened this issue Apr 29, 2015 · 2 comments
Labels

Comments

@akoslovasz
Copy link

Hi!

First of all, thank you for your work, the plugin is great.
But I have a little problem here. I installed Polylang, WooCommerce, and your plugin. (I'm using two languages on my site.) Then I tried to add a new page translation to the 'Shop' page generated by WooCommerce, and I got the followin error message:
Fatal error: Using $this when not in object context in /<page-root>/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Meta.php on line 47
Could you please give me a hint what I'm doing wrong, or how am I supposed to configure the shop, cart, product page, etc. translations?

Thank you in advance, I really appreciate your help.

@hyyan
Copy link
Owner

hyyan commented Apr 29, 2015

Hey @aakkii .

Thanks for opening this issue , actually you are not doing anything wrong , the problem is that using $this in anonymous function was added in PHP5.4 and it seems you have another version of PHP .

The plugin must function correctly in PHP5.3 , and I will fix this immediately .
Thanks :)

@hyyan
Copy link
Owner

hyyan commented Apr 29, 2015

@aakkii Issue was fixed now in version 0.17.2 , tell me if you still having any problems

@hyyan hyyan closed this as completed Apr 29, 2015
@hyyan hyyan added the bug label Jun 17, 2015
@ilariamast ilariamast mentioned this issue Jun 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants