Tagged: error
-
AuthorPosts
-
January 14, 2014 at 12:36 am #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, 11 months ago by Munford.
January 14, 2014 at 1:15 am #209259Hey MUNFORD!
Try adding this code functions.php:
if (WP_DEBUG && WP_DEBUG_DISPLAY) { ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED); }
Regards,
JosueJanuary 14, 2014 at 1:43 am #209269Where do I add that – in the quick css or in my child theme or in the original functions.php file.
new to this.January 14, 2014 at 2:27 am #209274Hi!
Child functions.php, at the very end.
Cheers!
JosueJanuary 14, 2014 at 10:09 am #209358did 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?January 14, 2014 at 12:05 pm #209410Hi!
Place it outside the comment tag. Add Josue’s code below this line:
add_filter('kriesi_backlink','__return_false');
Regards,
IsmaelJanuary 14, 2014 at 12:32 pm #209417I’m getting this now:
Parse error: syntax error, unexpected ‘;’ in /home/cphfilm/public_html/2014/wp-content/themes/enfold-child/functions.php on line 27here 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?January 14, 2014 at 5:35 pm #209551Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueJanuary 14, 2014 at 5:36 pm #209553getting 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
January 14, 2014 at 5:44 pm #209564Hey!
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,
DevinJanuary 14, 2014 at 6:00 pm #209571This reply has been marked as private.January 14, 2014 at 6:05 pm #209576January 14, 2014 at 6:13 pm #209582This reply has been marked as private.January 14, 2014 at 6:26 pm #209590Hi!
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,
IsmaelJanuary 14, 2014 at 9:13 pm #209683This reply has been marked as private.January 15, 2014 at 3:23 pm #210056This reply has been marked as private.January 15, 2014 at 11:06 pm #210336This reply has been marked as private.January 15, 2014 at 11:16 pm #210337This reply has been marked as private.January 15, 2014 at 11:22 pm #210343This reply has been marked as private.January 16, 2014 at 12:46 am #210401This reply has been marked as private.January 16, 2014 at 12:47 am #210404This reply has been marked as private.January 16, 2014 at 12:48 am #210407Hey!
FIxed: http://www.copenhagenfilmcompany.dk/2014/
Added this to Child functions.php:
error_reporting(0);
Cheers!
JosueJanuary 16, 2014 at 1:05 am #210422great! thanks so much!
what was causing that – did I mess up some code or was it a glitchJanuary 16, 2014 at 1:08 am #210425Hey!
I think the first code i provided was not working as expected so i tried out with a different one and it worked.
Cheers!
JosueJanuary 16, 2014 at 11:52 am #210640This reply has been marked as private.January 16, 2014 at 9:21 pm #210897Hey!
No, it was a setting on your server.
Best regards,
Josue -
AuthorPosts
- The topic ‘strict standards error message’ is closed to new replies.