New home › Forums › Pro Add-on › Scheduling import returns a bug/error
Tagged: import, json, schedule, scheduling
- This topic has 12 replies, 2 voices, and was last updated 5 months, 3 weeks ago by greg9998.
-
AuthorPosts
-
February 5, 2023 at 3:29 am #76272greg9998Participant
Hello, everytime i try to set up a scheduling, the plugin hangs and return (only under advanced tab) what you can see in the image attached.
You can check the file (generated in php) at the url : https://gpsoftware.org/gdmi/palestre/getapi.php
Manual importing from the same url works flawless
If i reset the plugin, all comes back to normality.
During debugging ive noticed that its impossible to remove the cronjob added by wpgm plugin.I’ve searched everywhere for an answer but no luck.
can you help?
ps.:
As i read in another response, i’ve even disabled beta “backup” options and tried to setup another scheduling but the error is still the same.Attachments:
You must be logged in to view attached files.February 6, 2023 at 11:07 am #76283MatthewModeratorHi Greg,
Thank you for getting in touch with us, we do appreciate your time.
As you are receiving a critical error, this generally means that a PHP error is being logged or being emailed in the critical error email.
Thus to start, please may I ask if you may provide me with the critical error email so that I may see what error is occurring and possibly get a better idea as to what may be causing it?
I look forward to hearing back from you.
Kindest Regards,
MatthewFebruary 12, 2023 at 12:12 pm #76339greg9998ParticipantSorry for replying so late!
I was ABSOLUTELY sure that any reply to my post would be automatically notified to me by email! 🙂
Basically I came to check here voluntarily but just out of curiosity! 🙂
I’ll check for PHP errors and I’ll report back to you!
thanks for replying so quickly!
February 12, 2023 at 12:45 pm #76340greg9998ParticipantHere we go: I cannot understand whats going on 🙁
[b] Fatal error: Uncaught Exception: HTML file not found in /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php:258 [/b]
[code]
Stack Trace1. WPGMZA\DOMElement->import()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php:4812. WPGMZA\DOMElement->populateElement()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php:5353. WPGMZA\DOMElement->populate()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/page.import-export.php:10674. WPGMZA\import_export_admin_options()
/var/www/vhosts/gdmi.it/httpdocs/wp-includes/class-wp-hook.php:3085. WP_Hook->apply_filters()
/var/www/vhosts/gdmi.it/httpdocs/wp-includes/class-wp-hook.php:3326. WP_Hook->do_action()
/var/www/vhosts/gdmi.it/httpdocs/wp-includes/plugin.php:5177. do_action()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/legacy-core.php:15508. /var/www/vhosts/gdmi.it/ht in /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php on line 258
[/code]
- This reply was modified 7 months, 1 week ago by greg9998.
Attachments:
You must be logged in to view attached files.February 12, 2023 at 12:55 pm #76343greg9998ParticipantIn this Attach i have print-screened line 258 of class.dom-element.php (that is existing, of course)
maybe it could help?
Attachments:
You must be logged in to view attached files.February 13, 2023 at 10:18 am #76351MatthewModeratorHi Greg,
Thank you for your response and time on this, I really appreciate it!
It appears that the importer is looking for an HTML file as the URL ends in
.php
. With that said, would you be able to output your data to a.json
file on your server and then point your scheduled import to the URL of your JSON file.You could use your current way of generating the JSON data to update the JSON file that you create and point towards.
Please do let me know if this would work for you?
Kindest Regards,
MatthewFebruary 14, 2023 at 10:54 am #76372greg9998Participantit will woprk for sure!
Can you explain me how you do the debug ?where exactly did you read / found the error that led you to answer me with the solution?
trivia from developer 🙂
February 21, 2023 at 11:48 pm #76463greg9998ParticipantYou didnt answer to my curiosity but no problem 🙂
Now, with your help, the map is working correctly, thank you!February 24, 2023 at 10:28 am #76482MatthewModeratorHi there,
Apologies for the delayed response, but I am glad that your map is working correctly now.
Have a fantastic day further!
Kindest Regards,
MatthewMarch 24, 2023 at 3:17 pm #76759greg9998ParticipantThis reply has been marked as private.March 24, 2023 at 3:21 pm #76811MatthewModeratorHi Greg,
Thank you for getting back in touch, we do appreciate your time.
Thank you for the confirmation and our apologies for the inconvenience this has caused.
Please may I ask if you may open a support ticket (https://www.wpgmaps.com/contact-us/) with us so that we may take a closer look and run some tests regarding this issue?
I look forward to hearing back from you.
Kindest Regards,
MatthewMarch 24, 2023 at 4:35 pm #76828greg9998ParticipantThank you.
As you will see, i already posted a support ticket today, before you told me to do, so you have a new ticket, much more better explained, thank you again for your professionalism.March 27, 2023 at 10:32 am #76845MatthewModeratorHi Greg,
Thank you so so much, we do appreciate your time on this.
Thank you for submitting a support ticket, one of our support agents will respond to you as soon as possible if they haven’t already done so.
Kindest Regards,
MatthewMarch 30, 2023 at 10:09 am #76902greg9998ParticipantHello, after 7 days, i have no answer in mail (the email of the ticket is [email protected])
i can add a Hint:For every event scheduled started i have an error:
I will paste it below::————————————————————————-
Fatal error: Uncaught Error: Call to undefined function list_files() in /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.backup.php:73Stack Trace
1.
WPGMZA\Backup->getBackupFiles()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.backup.php:109
2.
WPGMZA\Backup->removeOldBackupsOfType()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.backup.php:44
3.
WPGMZA\Backup->createBackup()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.import.php:110
4.
WPGMZA\Import->automaticBackup()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.import.php:94
5.
WPGMZA\Import->prepare()
/var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/page.import-export.php:521
6.
WP in /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/class.backup.php on line 73
/var/www/vhosts/gdmi.it/httpdocs/wp-includes/class-wp-hook.php:308:————————————————————————————–
Maybe this can help a bit more? 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.