Title: Warning: require_once(__DIR__/classes/CdataStrategyFactory.php)
Last modified: March 20, 2017

---

# Warning: require_once(__DIR__/classes/CdataStrategyFactory.php)

 *  Resolved [KMcG](https://wordpress.org/support/users/kmcg/)
 * (@kmcg)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/)
 * _[ Moderator note: [moved to Fixing WordPress](https://wordpress.org/support/topic/wheres-my-topic-gone?replies=1&view=all).]_
 * Hello
    After some months not visting my website because we are developing a new
   site and the old one was hacked, I went in a religiously upgraded my plugins.
   Then, stupidly, I hit the button at the bottom of the screen in the dashboard
   that says ” “All export” thinking this would back up my website in case I needed
   it again. Instead the whole website crashed and I can no longer log into wordpress.
   The password that worked fine over the weekend no longer works. The website name
   is: kmcgovern.com The result from hitting that address is: ire_once(__DIR__/classes/
   CdataStrategyFactory.php) [function.require-once]: failed to open stream: No 
   such file or directory in /clientdata/zeus-dynamic-1/k/m/kmcgovern.com/www/wp-
   content/plugins/wp-all-export/wp-all-export.php on line 10
 * Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/
   classes/CdataStrategyFactory.php’ (include_path=’.:/usr/local/php/pear-5-2-17:/
   usr/local/php/lib’) in /clientdata/zeus-dynamic-1/k/m/kmcgovern.com/www/wp-content/
   plugins/wp-all-export/wp-all-export.php on line 10
 * My web developer can’t log on to fix it either.
 * HELP!!!
 * Cheers
    Kerry PS I assume I updated wordpress but can’t be sure which version
   is in operation.

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

 *  Thread Starter [KMcG](https://wordpress.org/support/users/kmcg/)
 * (@kmcg)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-8932868)
 * Oops….the website address brings up the following message:
    Warning: require_once(
   __DIR__/classes/CdataStrategyFactory.php) [function.require-once]: failed to 
   open stream: No such file or directory in /clientdata/zeus-dynamic-1/k/m/kmcgovern.
   com/www/wp-content/plugins/wp-all-export/wp-all-export.php on line 10
 * Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/
   classes/CdataStrategyFactory.php’ (include_path=’.:/usr/local/php/pear-5-2-17:/
   usr/local/php/lib’) in /clientdata/zeus-dynamic-1/k/m/kmcgovern.com/www/wp-content/
   plugins/wp-all-export/wp-all-export.php on line 10
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-8932936)
 * Try:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves
   the problem (plugin functions can interfere). If this works, re-activate them
   individually (one-by-one) to find the problematic plugin(s). – switching to the
   unedited default Theme (Twenty Sixteen.) for a moment using [FTP/ SFTP ](http://codex.wordpress.org/FTP_Clients),
   or your web-host’s cPanel or whatever file management application your host provides(
   no Dashboard access required). Navigate to /wp-content/themes/ and switch to 
   the default theme by renaming your current theme’s folder by adding “-old” to
   the end of the folder name. Alternately, you can remove other themes except the
   default theme (Twenty Sixteen.). That will force your site to use it. **MANUALLY**
   updating. Download a fresh copy of the WordPress .zip file to your computer, 
   unzip it, and use that to copy up all files and folders **EXCEPT the wp-config.
   php file and the /wp-content/ directory.** You may need to delete the old wp-
   admin and wp-includes folders and files on your server before uploading the new
   ones. Please read the [Manual Update](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first. – **Backup: If you haven’t already done, always backup everything(
   including your database) before doing any actions, just in case something really
   goes wrong. You can never have enough backups! **
    -  This reply was modified 9 years, 2 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 *  Thread Starter [KMcG](https://wordpress.org/support/users/kmcg/)
 * (@kmcg)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-8932983)
 * Hi Thanks for reading my post.
    Unfortunately I can no longer access my wordpress
   account. I can’t get into the website to start with. I can get into this Forum.
   But the fatal flaw has replaced my website with the message above. When I try
   to log in, it tells me “You don’t have any wordpress sites yet. Would you like
   to start one?” Core problem. Can you help? Cheers Kerry
 *  Thread Starter [KMcG](https://wordpress.org/support/users/kmcg/)
 * (@kmcg)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-8933334)
 * Thanks managed to get to it through the ftp link. All sorted now.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-8935341)
 * Glad you got it sorted 🙂
 *  [unusualious](https://wordpress.org/support/users/unusualious/)
 * (@unusualious)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-9444971)
 * thanks
    guys

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

The topic ‘Warning: require_once(__DIR__/classes/CdataStrategyFactory.php)’ is closed
to new replies.

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [unusualious](https://wordpress.org/support/users/unusualious/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/warning-require_once__dir__classescdatastrategyfactory-php/#post-9444971)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
