• Resolved jck9

    (@jck9)


    Error message creating a snapshot (working in local):

    An undocumented error has occurred. Please refresh the page and try again.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry to hear your are having issues. This means that either something is interfering with the request to admin-ajax.php, but I doubt you have any server firewall set up on localhost so mostly likely a Fatal Error is occurring.

    Please enable WP_DEBUG and logging to a file and let us know what errors you get when attempting to create a snapshot.

    Thread Starter jck9

    (@jck9)

    [11-Dec-2019 14:23:41 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\projetpneuf\wp-includes\wp-db.php on line 2030

    * Internal function to perform the mysql_query() call.
    *
    * @since 3.9.0
    *
    * @see wpdb::query()
    *
    * @param string $query The query to run.
    */
    private function _do_query( $query ) {
    if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
    $this->timer_start();
    }

    if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
    2030 $this->result = mysqli_query( $this->dbh, $query );
    } elseif ( ! empty( $this->dbh ) ) {
    $this->result = mysql_query( $query, $this->dbh );
    }
    $this->num_queries++;

    if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
    $this->log_query(
    $query,
    $this->timer_stop(),
    $this->get_caller(),
    $this->time_start,
    array()
    );
    }
    }

    Plugin Author WebFactory

    (@webfactory)

    Hi,
    PHP wasn’t able to copy your DB in the 60sec that’s the max time set for single script execution 🙁

    Since you’re working on localhost I’d suggest just increasing the max_execution_time directive in your php.ini file.

    Thread Starter jck9

    (@jck9)

    Hi,

    After increasing the max_execution_time to 180 in php.ini file the same fatal error is displayed (Fatal error: Maximum execution time of 60 seconds)

    Plugin Author WebFactory

    (@webfactory)

    Please verify with phpinfo() that the 180sec setting is really set. Since it’s reporting 60 again I’m 99% sure it’s still on 60.

    PS
    you restarted Apache, right?

    Thread Starter jck9

    (@jck9)

    Hi,

    Problem resolved.
    Thank you

    Plugin Author WebFactory

    (@webfactory)

    You’re welcome! 🙂

    If you have a minute, please leave a rating. It’s what keeps support free. Thank you. https://ww.wp.xz.cn/support/plugin/wp-reset/reviews/#new-post

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error message creating a snapshot’ is closed to new replies.