Title: “ExportRestController” not found
Last modified: October 23, 2026

---

# “ExportRestController” not found

 *  Resolved [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [5 days, 20 hours ago](https://wordpress.org/support/topic/exportrestcontroller-not-found/)
 * I’m seeing a number of exceptions
 * Class “WP_Statistics\Service\Admin\ExportImport\ExportRestController” not found
 * recently. In wp-statistics/src/Service/Admin/ExportImport/ExportImportManager.
   php:24
 * This seems to not recur and likely something in the update process?

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

 *  [softglaze](https://wordpress.org/support/users/softglaze/)
 * (@softglaze)
 * [4 days, 19 hours ago](https://wordpress.org/support/topic/exportrestcontroller-not-found/#post-19053986)
 * Hi, your guess is very likely right. That class file (`src/Service/Admin/ExportImport/
   ExportRestController.php`) is part of the plugin, in 14.16.16, 14.16.17 and the
   current 14.16.18, which was released on 23 October. During an update, WordPress
   removes the old plugin files and copies the new ones, so for a short moment some
   files are missing. Any request that runs in that moment can throw “class not 
   found”, and it stops once the update has finished.
 * So if the errors stopped after the update, there is nothing to fix. You can check
   by comparing the times of the errors with the time of the update.
 * If they come back later, reinstall the plugin: download 14.16.18 from its plugin
   page, go to Plugins > Add New > Upload Plugin, upload the zip and choose “Replace
   current with uploaded”. Then clear OPcache or your host’s cache, so PHP does 
   not keep an old copy of the files.
 * Did the errors only appear around the time of the update?
 *  Plugin Author [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * (@mostafas1990)
 * [4 days, 10 hours ago](https://wordpress.org/support/topic/exportrestcontroller-not-found/#post-19054089)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/), thanks for
   the report, and thanks [@softglaze](https://wordpress.org/support/users/softglaze/)
   for jumping in.
 * A small correction to the reply above: ExportRestController is not new. It has
   shipped in every release since 14.15.2, and it is in the 14.16.18 package here
   on wordpress.org.
 * The error comes from the update window. WordPress removes the old plugin folder
   before it copies in the new one, so a request that started a moment earlier cannot
   find the file. It stops by itself once the update finishes.
 * If you still see it after an update has finished, please share:
    – the WP Statistics
   version on your Plugins page – the time of one error, and when the last update
   ran – whether the site uses OPcache or an object cache
 * Thanks again for taking the time to report this.
    -  This reply was modified 4 days, 10 hours ago by [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/).
    -  This reply was modified 4 days, 10 hours ago by [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/).

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexportrestcontroller-not-found%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * Last activity: [4 days, 10 hours ago](https://wordpress.org/support/topic/exportrestcontroller-not-found/#post-19054089)
 * Status: resolved