Tagged: 

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #209242

    I am getting messages like this:

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 226

    Strict Standards: Non-static method AviaHelper::save_string() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/storage-post.class.php on line 41
    etc…
    on my advanced layout items. I have changed some settings & plugins recently but am not sure what is causing this. The pages look fine.
    Any ideas?

    • This topic was modified 10 years, 10 months ago by Munford.
    #209259

    Hey MUNFORD!

    Try adding this code functions.php:

    if (WP_DEBUG && WP_DEBUG_DISPLAY) 
    {
       ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED);
    }

    Regards,
    Josue

    #209269

    Where do I add that – in the quick css or in my child theme or in the original functions.php file.
    new to this.

    #209274

    Hi!

    Child functions.php, at the very end.

    Cheers!
    Josue

    #209358

    did not fix the problem. my child theme functions.php is:
    <?php

    /*
    * add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘PT Sans Narrow’] = ‘PT Sans Narrow:400,700’;
    $fonts[‘PT Sans’] = ‘PT Sans:400,700,400italic,700italic’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘PT Sans’] = ‘PT Sans:400,700,400italic,700italic’;
    $fonts[‘PT Sans Narrow’] = ‘PT Sans Narrow:400,700’;
    return $fonts;
    }

    if (WP_DEBUG && WP_DEBUG_DISPLAY)
    {
    ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED);
    }
    */

    add_filter(‘kriesi_backlink’,’__return_false’);

    anything wrong there? I have not made a child theme before.
    IT happened after I deactivated and reactivated some plugins (google font manager after tinyMCE was not working…) I’m new to google fonts and all that – is that the problem?

    #209410

    Hi!

    Place it outside the comment tag. Add Josue’s code below this line:

    add_filter('kriesi_backlink','__return_false');

    Regards,
    Ismael

    #209417

    I’m getting this now:
    Parse error: syntax error, unexpected ‘;’ in /home/cphfilm/public_html/2014/wp-content/themes/enfold-child/functions.php on line 27

    here is the php

    */

    add_filter(‘kriesi_backlink’,’__return_false’);

    if (WP_DEBUG && WP_DEBUG_DISPLAY)
    {
    ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED);
    }
    what is wrong there?

    #209551

    Hi,

    Can you create an administrator account and post it here as a private reply?

    Regards,
    Josue

    #209553

    getting this when I use the fullwidth slider:

    Strict Standards: Non-static method AviaHtmlHelper::modal_group() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 109

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 217

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 217

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 217

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 217

    Strict Standards: Non-static method AviaHtmlHelper::modal_group_sub() should not be called statically in /home/cphfilm/public_html/2014/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 226

    #209564

    Hey!

    Please reply with admin account credentials so we can log in and take a look. Make sure to check the box for “Set as private reply” so that the reply can only be seen by the support crew.

    The functions file you have right now has the entire top section commented out which means it is not active. I’m not sure if you did this on purpose or on accident but seeing it live and without the forum editing will help us see what might be happening.

    Regards,
    Devin

    #209571
    This reply has been marked as private.
    #209576

    Hey!

    You can send it to (Email address hidden if logged out) .

    Best regards,
    Josue

    #209582
    This reply has been marked as private.
    #209590

    Hi!

    I’m sorry but we didn’t receive an email. Can you please send it again? You can also post the login details here as a private reply. Only you and the moderators can see it.

    Regards,
    Ismael

    #209683
    This reply has been marked as private.
    #210056
    This reply has been marked as private.
    #210336
    This reply has been marked as private.
    #210337
    This reply has been marked as private.
    #210343
    This reply has been marked as private.
    #210401
    This reply has been marked as private.
    #210404
    This reply has been marked as private.
    #210407

    Hey!

    FIxed: http://www.copenhagenfilmcompany.dk/2014/

    Added this to Child functions.php:

    error_reporting(0);
    

    Cheers!
    Josue

    #210422

    great! thanks so much!
    what was causing that – did I mess up some code or was it a glitch

    #210425

    Hey!

    I think the first code i provided was not working as expected so i tried out with a different one and it worked.

    Cheers!
    Josue

    #210640
    This reply has been marked as private.
    #210897

    Hey!

    No, it was a setting on your server.

    Best regards,
    Josue

Viewing 26 posts - 1 through 26 (of 26 total)
  • The topic ‘strict standards error message’ is closed to new replies.