• Hi,

    I migrated site from one host to another via WordPress Importer and receiving error on the following page:
    http://e44.91d.myftpupload.com/patient-testimonials/

    Error is as following:
    Warning: trim() expects parameter 1 to be string, array given in /home/content/p3pnexwpnas10_data01/44/2839944/html/wp-includes/meta.php on line 1442

    I tried all possible way, like disabling Themes and Plugins and enabling them one by one. But the problem still persists.

    Can anyone help me ASAP pleas?

    Thanks in advance.

    Regards
    Prasun

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you try turning off debug mode. See if the following code is present in your wp-config.php file in your root folder:

    define('WP_DEBUG', false);

    Thread Starter prasun1519

    (@prasun1519)

    Yes, debug mode is off in my wp-config file. It must be some other problem.

    Moderator bcworkz

    (@bcworkz)

    Debug off or false means the settings in php.ini are applied. They usually suppress warnings to screen but some hosts have different configurations. In any case, suppressing the warning does not solve the problem, it only makes it out of sight and out of mind.

    The real problem is code somewhere has assigned an array to &$clause['key'] instead of a string. The first step to a solution is locating where this assignment takes place. Work through the call stack and see what you can find out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting warning for meta.php file’ is closed to new replies.