This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to download invoices because the backend overview is empty and a JavaScript error is occurring.
Solution:
We recommend searching for the invoices as illustrated in our documentation. Please follow the steps provided in the guide on How to find your past Pay-As-You-Go invoices.
If this solution does not resolve your issue, we encourage you to open a new support ticket for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 12 replies, has 2 voices.
Last updated by Andrey 1 year, 1 month ago.
Assisted by: Andrey.
Author | Posts |
---|---|
November 20, 2023 at 11:05 am #14875627 | |
patrickA-12 |
Hi, I'm trying to download the invoices, but the overview in the backend is empty and a javascript error appears. TypeError: e.pages.last.each is not a function We deactivated all plugins, we switched to a empty theme, we relinked the plugin to the WPML account but so far nothing helped. |
November 20, 2023 at 8:15 pm #14880717 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you for contacting WPML support. Could you please upload the screenshots showing the issue? So it will help me better understand the problem. |
November 21, 2023 at 6:53 am #14881909 | |
patrickA-12 |
Hi Andrey. When I open the translation management, everything works fine. I can switch to the Tools tab. But as soon as I click Invoices (Rechnungen), the tab becomes empty and the error in the console appears. |
November 21, 2023 at 2:13 pm #14887745 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you for the explanation. It seems some error exists. Could you please activate the debug.log and let me know what is there when you open this tab? You can do this by adding a few lines to the site’s wp-config.php file. With error log enabled, you will see what the actual problem is. To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to: define('WP_DEBUG', true); In order to enable the error logging to a file on the server you need to add yet one more similar line: define( 'WP_DEBUG_LOG', true ); In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory. https://wpml.org/documentation/support/debugging-wpml/ Let me know what you see after the debug mode has been enabled. |
November 23, 2023 at 7:48 am #14904123 | |
patrickA-12 |
Hi, as soon as we activate debug, the Tools tab doesn't work anymore at all. [23-Nov-2023 07:45:26 UTC] PHP Deprecated: Die Funktion Class avia_style_generator wurde mit einem Argument aufgerufen, das seit Version 5.3 veraltet ist! Trying to set protected/private property: avia_style_generator::print_extra_output - will become unavailable in a future release. Check for a set method or a filter. in /www/htdocs/w01b6a28/visiodrom.de/wp-includes/functions.php on line 6031 |
November 23, 2023 at 8:51 pm #14911983 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thanks for the update. The warning shouldn't create an issue. I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. |
November 30, 2023 at 8:49 pm #14967585 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
No worries at all. Could you please update your WPML plugin to the latest version 4.6.8 and add-ons to benefit from the latest bug fixes and improvements? This may not necessarily resolve your problem, however, in order to troubleshoot the issue best we need to work on the latest code available. You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/ Please remember to backup your database first before you proceed. Let me know if the issue persists after an update has been done. |
December 1, 2023 at 7:18 am #14969353 | |
patrickA-12 |
Hi Andrey, thanks again. I updated the plugin. Error still exists 🙁 Is there another way to find these invoices? |
December 1, 2023 at 3:23 pm #14974199 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
I’m sorry that you ran into trouble with this. I need to consult my team regarding the issue. In the meantime, you can find all your invoices in your WPML account: 1) Log in to your WPML.org account. |
December 4, 2023 at 8:34 am #14983119 | |
patrickA-12 |
Hi Andrey, I need the invoices for automatic translation, that the client paid through their site itself. |
December 4, 2023 at 9:55 am #14984249 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
The only alternative place you can see invoices is your wpml.org account. You can find all your invoices there. Would it be possible for me to deactivate plugins and themes temporarily? Also, to create a copy of your site for testing locally? If yes, please confirm that the backup is taken. |
December 5, 2023 at 6:48 am #14993057 | |
patrickA-12 |
At the moment I can't, since we already spent so much time on the matter. Where can I find them in my WPML account? I only see this: These are our bills for the plugin itself. I need invoices for automatic translations. |
December 5, 2023 at 9:22 am #14994701 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Have you tried to search for them, as shown in the image? |