Warning: … /wp-includes/link-template.php on line 3049
-
Hi,
After updating wp to v.4.1.1, theme and plugins, this appears on every page of my website:
Warning: trim() expects parameter 1 to be string, array given in … /wp-includes/link-template.php on line 3049
Please HELP!
-
Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via FTP or SFTP, navigate to
/wp-content/themes/and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).Hi,
Plugins are ok. Child-theme causes the issue, but I need Child-theme to be activated because if I activate parent-theme I lose every custom-style-settings for the site, and the main menu,…
So, the goal is to keep the child-theme, and to remove that sentence of warning at the beginning of each page.
On my other host on ‘arvixe’ I had no problem updating 3 sites with same theme. But on ‘godaddy’ host, that sentence appear on the front of every page of the site.
I already reload everything, didn’t help.Any other advice ?
Thanks
Does the parent theme cause the issue too, or just the child theme?
just the child-theme
What files did you modify in your child theme?
nothing.
I just put as it is, as the author of the theme gave as.
All changes are made from the wp customizer and custom css.Ok, where did you get this child theme from, and what is it called?
From envato, and it is called Total , and Total-child.
I already write to the author, he took at the notice, but I still did not get any answer from him. I do not like that that sentence stand on the site not only that it is ugly, but for the security reason: there is a complete path where the file is.Ok, as that is a commercial theme, we ask that you please continue with their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.
http://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019/support
Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.
Thanks,
I came here because, the path of the issue is :
Warning: … /wp-includes/link-template.php on line 3049
that is wp file.
So I thought that somebody can help me with that file/code.
I did not have same problem before.Here is hole sentence without the username:
Warning: trim() expects parameter 1 to be string, array given in /home/———–/public_html/——-/wp-includes/link-template.php on line 3049It’s the theme that’s conflicting with the core file, you should *never* edit a core file to just to satisfy a theme, otherwise you’ll cause problems with everything else instead.
I understand that.
But I do not understand why is problem only on this site, not on the other, where is the same wp version 4.1.1 and same theme version.
Maybe I did something that causes the problem ?I’m not sure, did you edit any core files yourself?
Just to be sure, try downloading WordPress again and delete then replace your copies of everything except the
wp-config.phpfile and the/wp-content/directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.I only replace all files in the wp-includes with fresh files downloaded directly from the Worpress site, and that did not help. Should I try also with replacing files in the wp-admin and others where is the wp-config ?
The topic ‘Warning: … /wp-includes/link-template.php on line 3049’ is closed to new replies.