Title: atec_nonce() UNDEFINED FUNCTION
Last modified: May 15, 2024

---

# atec_nonce() UNDEFINED FUNCTION

 *  Resolved [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/)
 * (@eragonsoftware)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/)
 * A non-defined function error started appearing today on one of my client’s sites,
   adelgazacondelagarza.com
   Uncaught Error: Call to undefined function atec_nonce()
   in /home/ssss/domains/adelgazacondelagarza.com/public_html/wp-content/plugins/
   atec-cache-apcu/includes/atec-cache-apcu-page-cache-admin-tools.php:3
 * Nothing extra was done to the module, just installed and activated it.

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

 *  Thread Starter [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/)
 * (@eragonsoftware)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17755916)
 * Maybe instead of wp_create_nonce(atec_nonce()) you should only use wp_nonce()
   or wp_nonce(‘atec_nonce’)… in includes/atec-cache-apcu-cache-admin-tools.php
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17763901)
 * Hello, 
   sorry for the inconvenience.I have updated the plugin.Please deactivate
   und remove the plugin.If you have access to /wp-content, please remove object-
   cache.php.After that reinstall and activate the new version 1.4.6 from the WP
   plugin library.The plugin has a new install routine and should clean up the old
   object-cache.php in case it exists.The object-cache is the brand new version 
   1.2 and I have tested the plugin on different machines, but it is not all that
   simple. Some files were not in sync in the repository, and that was part of the
   problem.Please report if it works.Regards, Chris
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17763917)
 * Hello,
   sorry for the inconvenience.Please install the new version 1.4.6.Regards,
   Chris.
 *  Thread Starter [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/)
 * (@eragonsoftware)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17764656)
 * Good to see you care about the plugin and tried to update it. I have followed
   your instruction, but unfortunately it cannot be activated, upon activation, 
   it triggers a fatal error.
 * “Plugin could not be activated because it triggered a **fatal error**.”
   That’s
   the notification that appears with red, from the plugins screen and it cannot
   be activated. If I try activating right from the plugin installation screen, 
   a slightly different error showsActivation failed: error
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17764670)
 * You can also send me a
   [https://wordpress.org/plugins/temporary-login-without-password/](https://wordpress.org/plugins/temporary-login-without-password/)
   but to be save we should also have an FTP fallback.Do you have FTP access?
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17764719)
 * can you set
   `define('WP_DEBUG', true);``define('WP_DEBUG_LOG', true);`in wp-config.
   phpand then send wp-conent/debug.logafter v1.4.7 activation?
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17777110)
 * v1.5.1 is online, please deactivate the old version, delete the plugin and install
   the new version 1.5.1.
 *  Thread Starter [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/)
 * (@eragonsoftware)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17777251)
 * I believe this is what is of interest to you, mate, this is why your plugin is
   generating fatal errors: if a site also has atec cache info installed, that one
   already has a function with the same name as the one in atec cache acpu, that’s
   why atec cache cannot be activated.
 * Have a look at this:
   [23-May-2024 20:14:05 UTC] PHP Fatal error: Cannot redeclare
   atec_plugin_settings() (previously declared in /…/public_html/wp-content/plugins/
   atec-cache-info/includes/atec-tools.php:9) in /…/public_html/wp-content/plugins/
   atec-cache-apcu/includes/atec-admin.php on line 5Use another name or if it’s 
   the same function , use if(!function_exists(‘atec_plugin_settings’)) … though
   I doubt this would be a good case, since in each plugin we are talking about 
   different settings.
 * I hope this helps.
    -  This reply was modified 2 years ago by [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/).
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17777267)
 * Hi,
   function atec_plugin_settings was moved to atec-admin.php and there is a `
   if (!defined('ATEC_ADMIN_INC')) require_once(**DIR**.'/includes/atec-admin.php');`
   in the plugin file to prevent that kind of conflict.But you probably have unmatching
   versions of my plugins installed.Please update to the latest version.
 * apcu v1.5.1
   cache 1.4.6 That should solve the problem.Thank you.
 *  Thread Starter [eragonsoftware](https://wordpress.org/support/users/eragonsoftware/)
 * (@eragonsoftware)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17778101)
 * atec cache info is 1.3.9, there is no update available from wordpress.org
 * the apcu I installed yesterday, was indeed, 1.5.1
   Since there was no update available,
   I presumed there’s no newer version online. Now I have deleted both, (apcu cache
   and cache info), and installed them, and now they work together, no error is 
   generated, however, the object-cache.php can only be generated if I turn off 
   all other caching plugins, like Litespeed.
 * Thank you for all your effort and keep up the good work. Wish you all the best!
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/#post-17778150)
 * you can run APCu cache with litespeed cache plugin but need to disable object
   cache (memcached / redis) in litespeed, as they both engage with WP Object Cache.
   So you can only use either one being active.
   if you have litespeed cache running
   on a litespeed server with redis (:6378) i recommend using this combination and
   not add apcu cache. I asume you are runing LSWS?
 *  Plugin Author [docjojo](https://wordpress.org/support/users/docjojo/)
 * (@docjojo)
 * [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/page/2/#post-17778320)
 * LSWS has it’s own object-cache.php and atec APCu cache checks for the existence
   of this file and will not overwrite but give a warning:
 *     ```wp-block-code
           $debug='ERROR:Another "object-cache.php" file already exists.';
       ```
   

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

The topic ‘atec_nonce() UNDEFINED FUNCTION’ is closed to new replies.

 * ![](https://ps.w.org/atec-cache-apcu/assets/icon.svg?rev=2926115)
 * [atec Cache APCu](https://wordpress.org/plugins/atec-cache-apcu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/atec-cache-apcu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/atec-cache-apcu/)
 * [Active Topics](https://wordpress.org/support/plugin/atec-cache-apcu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/atec-cache-apcu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/atec-cache-apcu/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [docjojo](https://wordpress.org/support/users/docjojo/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/atec_nonce-undefined-function/page/2/#post-17778320)
 * Status: resolved