Plugin Contributor
Ewout
(@pomegranate)
HI! I’m sorry it’s not working for you. Have you selected the “Simple RTL” template in the settings? If not, that’s a first thing to do.
You could also check the debug logs under WooCommerce > Status > Logs, then in the upper left corner you can see if there’s a log named ‘woocommerce-pdf-ips-mpdf` in the list.
Let us know what you find!
Hello,
yes i made the steps you mentioned , selected the “Simple RTL” but i got the same error. then i went to the status > logs and i saw this in the log file:
2019-05-09T00:52:17+00:00 CRITICAL Error detected. PDF file generation aborted: Illegal string offset ‘done_migration’
2019-05-09T00:52:25+00:00 CRITICAL Error detected. PDF file generation aborted: Illegal string offset ‘done_migration’
2019-05-09T00:52:31+00:00 CRITICAL Error detected. PDF file generation aborted: Illegal string offset ‘done_migration’
2019-05-09T00:52:51+00:00 CRITICAL Error detected. PDF file generation aborted: Illegal string offset ‘done_migration’
Plugin Contributor
Ewout
(@pomegranate)
Hi! That’s a strange error. Have you made any changes to your template or are there plugins active on your site that would explain this ‘done_migration’ error?
Hi,
My client theme is a purchased theme but its updated and the main plugin works fine but the arabic support plugin is the one making the error.
Plugin Contributor
kluver
(@kluver)
Hi @mayada5100,
The ‘done_migration’ variable is not in our code by default so the errors suggest that the problem lies in a customization, with a custom template or code snippet, of your PDF template. Or that another plugin is hooking into ours and is making customizations.
If you haven’t made any customizations yourself I would suggest switching of plugins one by one to test if that makes the error disappear. If it does, we are a step closer in identifying the root of the problem.
Hello kluver,
ok i am testing on a staging website to check the plugins because i didn’t make any changes in the theme.
actually its working on the staging but not working on the live website the only difference is that the live website didn’t continue the add plugin through the browser so i removed it and uploaded the files, on the staging it did get installed through add plugin.
Plugin Contributor
Ewout
(@pomegranate)
Does this mean the issue is now resolved?
Hi,
well its still not working on the live website but i guess its not related to your plugin it might be something related to the server or one of the plugins.