Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #446353

    I am using Enfold child theme and after some latest updates got this Warning message appear on the live site in blog/category sort url’s.

    As WPML people says that it might be child theme / Enfold theme problem, then please check this thread on WMPL support and give your feedback please!

    https://wpml.org/forums/topic/warning-mysqli_real_escape_string-expects-parameter-2-to-be-string/#post-621445

    #447276

    Hey kk!

    We do not have the mysqli_real_escape_string function anywhere in Enfold. Perhaps you did a customization like this? https://kriesi.at/support/topic/problems-php-5-5-google-map-widget/#post-321743

    Try deactivating all plugins except WPML and also try activating just Enfold instead of your child theme to see what happens.

    Regards,
    Elliott

    #457183
    This reply has been marked as private.
    #457347

    Hi!

    I’m sorry but I don’t understand. Is that code you are adding to the child theme? What are you trying to do?

    That is probably where the error is coming from so try deleting it.

    Regards,
    Elliott

    • This reply was modified 9 years, 5 months ago by Elliott.
    #457572
    This reply has been marked as private.
    #457664

    Hey!

    Are you getting the same error if you activate one of the default WordPress themes?

    Cheers!
    Rikard

    #457719

    Hi, no, there is no such an error, when I activate WP default theme.

    There have to be all the following 3 conditions applied together, when this warning appears:
    1. Current child theme is activated (set up without any additional modifications/customisations)
    2. Blog page is displayed in Grid view
    2. WPML plugin is activated

    • This reply was modified 9 years, 5 months ago by kk. Reason: additional info
    #457729

    Hey!

    Do you mind posting FTP access here privately so we can check wp-db.php file?

    Cheers!
    Yigit

    #458061
    This reply has been marked as private.
    #459355

    Hey!

    Can you please try updating WPML to latest version 3.2 – https://wpml.org/2015/06/wpml-3-2-released/?

    Best regards,
    Yigit

    #461833
    This reply has been marked as private.
    #462767

    Hey!

    What happens when you activate the default theme instead of Enfold? Do the errors still display?

    Best regards,
    Elliott

    #463098

    Hi Elliott, please read my reply I wrote on 11. june 2015 11:04 am

    #463166

    Hey!

    Maybe, we can hide the warnings. Please try to edit wp-config.php, look for this code:

    define('WP_DEBUG', false);
    

    ..replace it with:

    ini_set('log_errors','On');
    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    

    Best regards,
    Ismael

    #464515

    this worked for hiding the warnings

    #464545

    Hey!

    Alright. You can just ignore those warnings for now. If you find any issue with the grid layout, let us know.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.