Title: Error message creating a snapshot
Last modified: December 11, 2019

---

# Error message creating a snapshot

 *  Resolved [jck9](https://wordpress.org/support/users/jck9/)
 * (@jck9)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-creating-a-snapshot%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12227277)
 * 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](https://wordpress.org/support/users/jck9/)
 * (@jck9)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12227844)
 * [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](https://wordpress.org/support/users/since/)
   3.9.0 * * [@see](https://wordpress.org/support/users/see/) wpdb::query() * * 
   [@param](https://wordpress.org/support/users/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](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12232530)
 * 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](https://wordpress.org/support/users/jck9/)
 * (@jck9)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12234753)
 * 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](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12234833)
 * 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](https://wordpress.org/support/users/jck9/)
 * (@jck9)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12235075)
 * Hi,
 * Problem resolved.
    Thank you
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12235222)
 * You’re welcome! 🙂
 * If you have a minute, please leave a rating. It’s what keeps support free. Thank
   you. [https://wordpress.org/support/plugin/wp-reset/reviews/#new-post](https://wordpress.org/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.

 * ![](https://ps.w.org/wp-reset/assets/icon-256x256.png?rev=1906468)
 * [WP Reset](https://wordpress.org/plugins/wp-reset/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-reset/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-reset/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-reset/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-reset/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-reset/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-message-creating-a-snapshot/#post-12235222)
 * Status: resolved