Warnings On Updating WordPress

The issue is that the files cannot be written to by the web/php process due to permissions. This is: Good! Those files can’t be updated with malware and other nasty surprises Bad! The updater cant update them either So, I’d advise you do the following: Follow these chmod settings religiously What is true chmod for … Read more

Get rid of this Strict Standards warning [closed]

This occurs because you do the explode() call inside the next() call. The reason I think is, by strict standards you shouldn’t pass a function to a function like this, because, like @AndrewBartel said, of reference, which would be missing. Doing it like shown below should work and would be correct: $nval = explode( ‘/themes/’, … Read more

Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages

Let’s take a look at get_the_terms Codex page. We can find there that this function may return: (array|false|WP_Error) Array of WP_Term objects on success, false if there are no terms or the post does not exist, WP_Error on failure. So your code will work correct only in one case – when the function returns an … Read more

Deprecated: Function get_magic_quotes_gpc() is deprecated in WordPress that causes height change in hoe slider, all Tabs on website

magic_quotes_gpc is a php.ini setting to automatically add backslash escapes to certain characters in input values (from GPC = Get, Post, Cookie). It’s been long deprecated in PHP, back as far as 5.x I think. I guess either your theme or a slider plugin is calling this because WordPress core doesn’t (except one reference in … Read more

How to fix Warning: call_user_func_array()?

Not sure this will help but after dealing with the exact same error message for the last 2 days I finally figured out what was happening. It was simply a matter of attempting to call the function before the system knew it existed. In my case, I had written the function in a separate–not-publicly-accessible–directory and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)