Codestyling Localization
[resolved] Script guard update (7 posts)

  1. ceslava
    Posted 3 years ago #


    I just resolved the problem with Avada Theme but the script guard alert still shows and the theme translation is deactivated.

    Should I see the database in order to restore the plugin?



  2. codestyling
    Plugin Author

    Posted 3 years ago #

    I do not understand, what you try to explain. I have tested Avada Theme at my local install and it can be translated even if there are Scripting Guard warning about PHP issues of type STRICT.
    I don't get any other problem, could you please descibe your problem more in detail?

  3. ceslava
    Posted 3 years ago #

    Sorry for my bad english, the script guards alerts about a script which I have removed here:

    PHP runtime error reporting detected !
    Reason: some executed PHP code is not written proper | Originator: desconocido (probably by Theme or Plugin)
    Below listed error reports has been traced and removed during page creation:
    NOTICE Error: [8] Undefined property: kdMultipleFeaturedImages::$args /home2/nhdsemwe/public_html/wp-content/themes/Avada/framework/plugins/multiple-featured-images/multiple-featured-images.php on line 69

    And the theme shows as deactivated

    Avada © ThemeFusion

    Textdomain: Avada
    Versión: 2.0.3
    Estado: desactivado

  4. codestyling
    Plugin Author

    Posted 3 years ago #

    Ok, I've tested 1.0.8 (free version), may be a lot differences.
    Would it be ok, if you could provide the Theme for testing purpose by mail (can be found at my imprint page)?

  5. choegl
    Posted 3 years ago #

    Same problem for me, using the most recent Avada theme 2.0.6

  6. ceslava
    Posted 3 years ago #

    Hi choegl,

    The great Haiku resolved the problem with this theme vía email.

    His solution:

    If a child theme is active and it doesn't load any own translation, the main theme will still load the translations but will appear as deactivated.

    The error listed is caused by a wrong implementation within the multiple-featured-images.php file line 69. Currently this is:

    $this->nonce        = 'mfi-'.$this->args['id'].$this->args['post_type']; 
    but should be 
                $this->nonce        = 'mfi-'.$this->id.$this->post_type;

    I also commented out these lines to avoid the warning

    public function kd_admin_init() {
            /* translation problem

    Thanks again to Haiku for this great plugin and for his great and fast support.

  7. choegl
    Posted 3 years ago #

    It works!

    What a relief! I had been dealing with this for hours.

    Thank you! Thank you! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic