Scheduling import returns a bug/error

New home Forums Pro Add-on Scheduling import returns a bug/error

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #76272
    greg9998
    Participant

    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.
    #76283
    Matthew
    Moderator

    Hi 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,
    Matthew

    #76339
    greg9998
    Participant

    Sorry 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!

    #76340
    greg9998
    Participant

    Here 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 Trace

    1. WPGMZA\DOMElement->import()
    /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php:481

    2. WPGMZA\DOMElement->populateElement()
    /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps/includes/class.dom-element.php:535

    3. WPGMZA\DOMElement->populate()
    /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/includes/import-export/page.import-export.php:1067

    4. WPGMZA\import_export_admin_options()
    /var/www/vhosts/gdmi.it/httpdocs/wp-includes/class-wp-hook.php:308

    5. WP_Hook->apply_filters()
    /var/www/vhosts/gdmi.it/httpdocs/wp-includes/class-wp-hook.php:332

    6. WP_Hook->do_action()
    /var/www/vhosts/gdmi.it/httpdocs/wp-includes/plugin.php:517

    7. do_action()
    /var/www/vhosts/gdmi.it/httpdocs/wp-content/plugins/wp-google-maps-pro/legacy-core.php:1550

    8. /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.
    #76343
    greg9998
    Participant

    In 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.
    #76351
    Matthew
    Moderator

    Hi 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,
    Matthew

    #76372
    greg9998
    Participant

    it 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 🙂

    #76463
    greg9998
    Participant

    You didnt answer to my curiosity but no problem 🙂
    Now, with your help, the map is working correctly, thank you!

    #76482
    Matthew
    Moderator

    Hi there,

    Apologies for the delayed response, but I am glad that your map is working correctly now.

    Have a fantastic day further!

    Kindest Regards,
    Matthew

    #76759
    greg9998
    Participant
    This reply has been marked as private.
    #76811
    Matthew
    Moderator

    Hi 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,
    Matthew

    #76828
    greg9998
    Participant

    Thank 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.

    #76845
    Matthew
    Moderator

    Hi 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,
    Matthew

    #76902
    greg9998
    Participant

    Hello, 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:73

    Stack 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? 🙂

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.