Hello @alejosound
Yes, this was an issue causing on the translated sites. Your site is not in English, right?
However, we have figured out and fixed the issue already. See the commit here-> https://github.com/wp-erp/wp-erp/commit/8ea27951e0e73e43d69052cd71308bb5825e9073
This commit is tagged with our next update which will be released within this week. But you can implement the fixes on your site now following the commit.
Open the file: ..../modules/accounting/includes/classes/class-admin.php
Remove the line:
window.erpAcct = JSON.parse('<?php echo json_encode( apply_filters( 'erp_localized_data', [] ) ); ?>');
And add these:
`window.erpAcct = JSON.parse(‘<?php echo addslashes(
json_encode( apply_filters( ‘erp_localized_data’, [] ) )
); ?>’);`
If you are unfamiliar editing the codes over FTP or cPanel, I’d recommend you to wait for the next release or contact the WPERP support team from the website for further guidelines.
Thanks
Hello my friend, thank you very much for the prompt response and attention, I already edited the line and if it finally works, my WP is in Spanish, and in another account I put the WP in English without editing the file and it works perfectly. Thanks again for your attention I am looking forward to the next update