Title: Problems Uploading Code
Last modified: February 4, 2023

---

# Problems Uploading Code

 *  [mbauer1](https://wordpress.org/support/users/mbauer1/)
 * (@mbauer1)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problems-uploading-code/)
 * I’ve used the plugin for years and it has always worked. A few weeks ago I completely
   redesigned the website. So I wanted to import existing codes. As soon as I want
   to do that I get a critical error. I then receive the following information by
   email:
 * Fehlermeldung: Uncaught Error: Call to undefined function split() in /www/htdocs/
   w0087d0d/[bewie-bauer.de/wp-content/plugins/wp-download-codes/includes/helpers/db.php:322](http://bewie-bauer.de/wp-content/plugins/wp-download-codes/includes/helpers/db.php:322)
   
   Stack trace:#0 /www/htdocs/w0087d0d/[bewie-bauer.de/wp-content/plugins/wp-download-codes/includes/admin/manage-codes.php(75)](http://bewie-bauer.de/wp-content/plugins/wp-download-codes/includes/admin/manage-codes.php(75)):
   dc_import_codes(‘2’, ”, ”)#1 /www/htdocs/w0087d0d/[bewie-bauer.de/wp-includes/class-wp-hook.php(308)](http://bewie-bauer.de/wp-includes/class-wp-hook.php(308)):
   dc_manage_codes(”)#2 /www/htdocs/w0087d0d/[bewie-bauer.de/wp-includes/class-wp-hook.php(332)](http://bewie-bauer.de/wp-includes/class-wp-hook.php(332)):
   WP_Hook->apply_filters(”, Array)#3 /www/htdocs/w0087d0d/[bewie-bauer.de/wp-includes/plugin.php(517)](http://bewie-bauer.de/wp-includes/plugin.php(517)):
   WP_Hook->do_action(Array)#4 /www/htdocs/w0087d0d/[bewie-bauer.de/wp-admin/admin.php(259)](http://bewie-bauer.de/wp-admin/admin.php(259)):
   do_action(‘download-codes_…’)#5 {main}  thrown
 * How can the problem be solved?
 * Is there another plugin that is similarly simple and where I can import codes?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-uploading-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [tedt](https://wordpress.org/support/users/tedt/)
 * (@tedt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problems-uploading-code/#post-16445257)
 * Hi,
 * Is there anyone who can add some features for a fee? I’d like the ability to 
   require a person’s email and/or name when they come to my website for the free
   download.
 * Thanks
 * TedT, California
 *  [grobc](https://wordpress.org/support/users/grobc/)
 * (@grobc)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problems-uploading-code/#post-16461162)
 * Schönen guten Morgen M. Bauer,
 * siehe diese Information zur split() function:
 * What is the replacement for split in PHP?
 * split() is deprecated as of PHP 5.3. 0. **preg_split()** is the suggested alternative
   to this function. If you don’t require the power of regular expressions, it is
   faster to use explode(), which doesn’t incur the overhead of the regular expression
   engine.
 * Hoffe dies hilft.
 * Grüße
   CG

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

The topic ‘Problems Uploading Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-download-codes.svg)
 * [WP Download Codes](https://wordpress.org/plugins/wp-download-codes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-download-codes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-download-codes/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-download-codes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-download-codes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-download-codes/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [grobc](https://wordpress.org/support/users/grobc/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/problems-uploading-code/#post-16461162)
 * Status: not resolved