Title: Uncaught Error: Call to undefined function Nextend\Framework\Font\n
Last modified: April 27, 2021

---

# Uncaught Error: Call to undefined function Nextend\Framework\Font\n

 *  Resolved [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/)
 * I have a rather curious problem on one of my local development sites.
    Running
   WP 5.7.1 on the latest laravel valet@macos. I have to add that the error presents
   itself only on this particular wp install. Multiple other work without a problem
   in the same environment.
 *     ```
       Fatal error: Uncaught Error: Call to undefined function Nextend\Framework\Font\n2_x()
       in /Users/bonovski/Sites/staging/wp-content/plugins/smart-slider-3/Nextend/Framework/Font/FontSettings.php on line 30
   
       Call stack:
   
       Nextend\F\F\FontSettings::load()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Font/FontSettings.php:23
       Nextend\F\F\FontSettings::__construct()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Font/FontSettings.php:138
       require()
       wp-content/plugins/smart-slider-3/Nextend/Autoloader.php:194
       Nextend\Autoloader::requireFile()
       wp-content/plugins/smart-slider-3/Nextend/Autoloader.php:175
       Nextend\Autoloader::loadMappedFile()
       wp-content/plugins/smart-slider-3/Nextend/Autoloader.php:128
       Nextend\Autoloader::loadClass()
       spl_autoload_call()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Font/Sources/GoogleFonts/GoogleFonts.php:119
       Nextend\F\F\S\G\GoogleFonts::onFontManagerLoad()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Font/FontSources.php:44
       Nextend\F\F\FontSources::onFontManagerLoad()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Asset/Predefined.php:65
       Nextend\F\A\Predefined::frontend()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Controller/AbstractController.php:125
       Nextend\F\C\AbstractController::initialize()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Controller/AbstractController.php:50
       Nextend\F\C\AbstractController::__construct()
       wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Application/Frontend/ApplicationTypeFrontend.php:24
       Nextend\S\A\F\ApplicationTypeFrontend::getControllerSlider()
       call_user_func()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Application/AbstractApplicationType.php:106
       Nextend\F\A\AbstractApplicationType::getController()
       wp-content/plugins/smart-slider-3/Nextend/Framework/Application/AbstractApplicationType.php:86
       Nextend\F\A\AbstractApplicationType::process()
       wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Platform/WordPress/Shortcode/Shortcode.php:319
       Nextend\S\P\W\S\Shortcode::render()
       wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Platform/WordPress/Shortcode/Shortcode.php:189
       Nextend\S\P\W\S\Shortcode::doShortcode()
       wp-includes/shortcodes.php:343
       do_shortcode_tag()
       preg_replace_callback()
       wp-includes/shortcodes.php:218
       do_shortcode()
       wp-content/themes/test/parts/front/front-slider.php:10
       require()
       wp-includes/template.php:732
       load_template()
       wp-includes/template.php:676
       locate_template()
       wp-includes/general-template.php:204
       get_template_part()
       wp-content/themes/test/front-page.php:10
       include()
       wp-includes/template-loader.php:106
       require_once()
       wp-blog-header.php:19
       require()
       index.php:17
       require()
       /Users/bonovski/.composer/vendor/laravel/valet/server.php:219
       ```
   
    -  This topic was modified 5 years, 1 month ago by [bonovski](https://wordpress.org/support/users/bonovski/).
    -  This topic was modified 5 years, 1 month ago by [bonovski](https://wordpress.org/support/users/bonovski/).

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

 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/#post-14370694)
 * Hi [@bonovski](https://wordpress.org/support/users/bonovski/)
 * The problem will be probably related to that, some of our files are missing from
   your site.
    So please, delete your current Smart Slider 3 installation, then 
   install it again from WordPress > Plugins > Add new > and type in Smart Slider
   3 into the “Search plugins” field.
 * Then check if the problem still occurs. If it does, then could you check please
   if you navigate to here:
    - \wp-content\plugins\smart-slider-3\Nextend\Framework\Localization\
 * can you see the file there called “Functions.php” if you do, please open it and
   check if it has any content and contains the function n2_x function or not:
    `
   function n2_x($text, $context, $domain = 'nextend') {...}`
 * Best regards,
    Laszlo.
 *  Thread Starter [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/#post-14370858)
 * Thanks for the quick response, I did delete it a few times already and installed
   from scratch, disabled all plugins except for smart-slider-3, no luck.
 * I also enabled troubleshoot mode in WP and tried to activate just ss3 and it 
   wouldn’t let me:
 * `When enabling the plugin, smart-slider-3, a site failure occurred. Because of
   this the change was automatically reverted.`
 * The Functions.php file is present, as well as the function:
 *     ```
       function n2_x($text, $context, $domain = 'nextend') {
           $translations = Localization::getTranslationsForDomain($domain);
   
           return $translations->translate($text, $context);
       }
       ```
   
 * My debug log:
 *     ```
       Smart Slider 3 - version: 3.4.1.17/b:release-3.4.1.17/r:821e0c40c1a68904613c085ca8d654d9473341fb
       Plan: free
       Platform: WordPress - 5.7.1
       Site url: //staging.test/
       Path: /Users/bonovski/Sites/staging/wp-content
       Uri: https://staging.test/wp-content
       Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
   
       PHP: 7.4.16
       PHP - memory_limit: 512M
       PHP - max_input_vars: 1000
       PHP - opcache.enable: 1
       PHP - opcache.revalidate_freq: 2
   
       No conflicts detected
   
       Path to uri:
       /Users/bonovski/Sites/staging => https://staging.test
       /Users/bonovski/Sites/staging/wp-content => https://staging.test/wp-content
       /Users/bonovski/Sites/staging/wp-content/plugins => https://staging.test/wp-content/plugins
       /Users/bonovski/Sites/staging/wp-content/uploads => https://staging.test/wp-content/uploads
   
       wp_upload_dir() => 
       path: /Users/bonovski/Sites/staging/wp-content/uploads/2021/04
       url: https://staging.test/wp-content/uploads/2021/04
       subdir: /2021/04
       basedir: /Users/bonovski/Sites/staging/wp-content/uploads
       baseurl: https://staging.test/wp-content/uploads
       error: 
       <=
   
       Theme: test is version 2.0.0
   
       Activated Plugins:
        - acf-content-analysis-for-yoast-seo/yoast-acf-analysis.php - 3.0.1 - ACF Content Analysis for Yoast SEO
        - advanced-custom-fields-pro/acf.php - 5.9.5 - Advanced Custom Fields PRO
        - wc-aelia-foundation-classes/wc-aelia-foundation-classes.php - 2.1.6.210406 - Aelia Foundation Classes for WooCommerce
        - woo-checkout-field-editor-pro/checkout-form-designer.php - 1.4.8 - Checkout Field Editor for WooCommerce
        - font-awesome/index.php - 4.0.0-rc22 - Font Awesome
        - foobox-image-lightbox/foobox-free.php - 2.7.16 - FooBox Image Lightbox
        - foogallery/foogallery.php - 2.0.24 - FooGallery
        - gdpr-cookie-compliance/moove-gdpr.php - 4.5.2 - GDPR Cookie Compliance (CCPA, PIPEDA ready)
        - health-check/health-check.php - 1.4.5 - Health Check & Troubleshooting
        - members/members.php - 3.1.5 - Members
        - checkout-fees-for-woocommerce/checkout-fees-for-woocommerce.php - 2.6.2 - Payment Gateway Based Fees and Discounts for WooCommerce
        - polylang-wc/polylang-wc.php - 1.5.4 - Polylang for WooCommerce
        - polylang-pro/polylang.php - 3.0.4 - Polylang Pro
        - query-monitor/query-monitor.php - 3.6.7 - Query Monitor
        - regenerate-thumbnails/regenerate-thumbnails.php - 3.1.5 - Regenerate Thumbnails
        - show-current-template/show-current-template.php - 0.4.5 - Show Current Template
        - smart-slider-3/smart-slider-3.php - 3.4.1.17 - Smart Slider 3
        - tablepress/tablepress.php - 1.13 - TablePress
        - tablepress-responsive-tables/tablepress-responsive-tables.php - 1.8 - TablePress Extension: Responsive Tables
        - under-construction-page/under-construction.php - 3.88 - Under Construction
        - updraftplus/updraftplus.php - 1.16.53 - UpdraftPlus - Backup/Restore
        - woocommerce/woocommerce.php - 5.2.2 - WooCommerce
        - woocommerce-bankart-payment-gateway/woocommerce-bankart-payment-gateway.php - 1.7.3.2 - WooCommerce Bankart Payment Gateway Extension
        - woocommerce-eu-vat-assistant/woocommerce-eu-vat-assistant.php - 2.0.14.210317 - WooCommerce EU VAT Assistant
        - wp-optimize/wp-optimize.php - 3.1.8 - WP-Optimize - Clean, Compress, Cache
        - wp-migrate-db/wp-migrate-db.php - 1.0.17 - WP Migrate DB
        - wordpress-seo/wp-seo.php - 16.1.1 - Yoast SEO
        - wordpress-seo-premium/wp-seo-premium.php - 16.1 - Yoast SEO Premium
   
       NOT Activated Plugins:
        - autoptimize/autoptimize.php - 2.8.3 - Autoptimize
        - wordfence/wordfence.php - 7.5.2 - Wordfence Security
        - wp-super-cache/wp-cache.php - 1.7.2 - WP Super Cache
       ```
   
 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/#post-14371000)
 * Hi [@bonovski](https://wordpress.org/support/users/bonovski/)!
 * This still looks like as if for some reason not all our files would be able to
   load. Like a file, which suppose to load the Functions.php couldn’t load, for
   example it is missing or there is server cache, which still load a previous version
   of the PHP files instead of the latest ones, or another server created limitation
   happens. Could you please try to upload the files this way:
    [https://smartslider.helpscoutdocs.com/article/1717-wordpress-installation#ftp](https://smartslider.helpscoutdocs.com/article/1717-wordpress-installation#ftp)
   by moving the folder and files manually? You can just let them overwrite the 
   files what you already have there. This could be better, because sometimes servers
   aren’t moving all files as they should be.
 * If you will still have a problem after this, please create a PHP file with this
   code in it:
 *     ```
       <?php
       phpinfo();
       ?>
       ```
   
 * take a look at it in your browser -> right click and download the page, then 
   send it to us in a zip file, to [support@nextendweb.com](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/support@nextendweb.com?output_format=md)
   and we will try to figure out what could be wrong.
 *  Thread Starter [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/#post-14371333)
 * I copied the files manually, but unfortunately that didn’t help.
 * I also spun up a docker environment with apache as the web server and the same
   error happened.
 * I deleted as much as possible from the installation including various caches 
   etc.
 * I just sent you the phpinfo result.

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

The topic ‘Uncaught Error: Call to undefined function Nextend\Framework\Font\n’ 
is closed to new replies.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [bonovski](https://wordpress.org/support/users/bonovski/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-nextendframeworkfontn/#post-14371333)
 * Status: resolved