• Resolved tylonhh

    (@tylonhh)


    Hello,
    as mentioned here I tried to translate this plugin.
    I know I have to care about the variables like %sSmart
    Now I cant enter the settings menu. I donno how to find the problem.
    I got from the WP_debug
    Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /www/htdocs/w01c618e/warsowerk/wp-content/plugins/newsletter-optin-box/includes/admin/class-noptin-settings.php:410 Stack trace: #0 /www/htdocs/w01c618e/warsowerk/wp-content/plugins/newsletter-optin-box/includes/admin/class-noptin-settings.php(410): sprintf('Gib deinen %s A...', '<a href="https:...') #1 /www/htdocs/w01c618e/warsowerk/wp-content/plugins/newsletter-optin-box/includes/admin/class-noptin-settings.php(156): Noptin_Settings::get_settings() #2 /www/htdocs/w01c618e/warsowerk/wp-content/plugins/newsletter-optin-box/includes/admin/class-noptin-admin.php(254): Noptin_Settings::get_state() #3 /www/htdocs/w01c618e/warsowerk/wp-includes/class-wp-hook.php(307): Noptin_Admin->enqeue_scripts('noptin-newslett...') #4 /www/htdocs/w01c618e/warsowerk/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /www/htdocs/w01c618e/warsowerk/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /www/htdocs/w01c618e/warsowerk/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'noptin-newslett...') #7 /www/htdocs/w01c618e/warsowerk/wp-admin/admin.php(239): require_once('/www/htdocs/w01...') #8 {main} thrown in /www/htdocs/w01c618e/warsowerk/wp-content/plugins/newsletter-optin-box/includes/admin/class-noptin-settings.php on line 410

    Can you figure out wich misstranslation is causing this?

Viewing 1 replies (of 1 total)
  • Thread Starter tylonhh

    (@tylonhh)

    Solved.
    there was twice %s in the translation.

Viewing 1 replies (of 1 total)
  • The topic ‘translate plugin with loco’ is closed to new replies.