Closed BrunoPavlinic98 closed 5 months ago
Maybe we could replace this with
jquery-blockui
?
@alexmigf I agree! I did not know about this block UI plugin, looks good!
I'm getting this error in the media_upload()
function after saving logos for 2 languages with this branch and then get back to the main
branch:
PHP Warning: Array to string conversion
I'm getting this error in the
media_upload()
function after saving logos for 2 languages with this branch and then get back to themain
branch:PHP Warning: Array to string conversion
@alexmigf Can you please share more detailed error reproduction steps? I have tried the following with no errors:
375
branch.main
branch.I'm still getting the error, steps to reproduce:
main
main
Error trace:
Note: you might need to add a version compatibility check in the Pro extension, because the changes you made in the media_upload()
function aren't present in the older versions of the free plugin (current stable version and below).
I'm still getting the error, steps to reproduce:
- Free PDF plugin on this branch
- Pro on this branch: Translatable shop logo woocommerce-pdf-ips-pro#387
- Enable WPML
- Upload 2 or more logos to different languages
- Disable WPML
- Switch free PDF branch to
main
- Switch Pro extension to
main
Error trace:
Note: you might need to add a version compatibility check in the Pro extension, because the changes you made in the
media_upload()
function aren't present in the older versions of the free plugin (current stable version and below).
I have added a dependency check in the PRO plugin.
@alexmigf @MohamadNateqi I think I managed to solve the issues you had. Please let me know what you think.
Great work!
Thank you for the great review!
After this PR is closed, we also need to close https://github.com/wpovernight/woocommerce-pdf-ips-pro/pull/387 which will close the ticket https://github.com/wpovernight/woocommerce-pdf-ips-pro/issues/375