Error: Warning: strpos() in media.php
Error: Warning: strpos() in media.php
Error: Warning: strpos() in media.php
Warning(unlink) Warning: session_start() Warning: Cannot modify header information
Change ICL_LANGUAGE_CODE for WPML
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
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
I’ve removed the custom_meta_boxes. I don’t have to have them and it solves the problem. I still don’t understand why they were a problem, but if I can do without them I will. I appreciate everyone’s efforts. Note: rolling back to 4.7 made no difference.
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
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
There are two separate post meta values related to this behavior: _edit_lock – holds timestamp when post was last locked; _edit_last – hold ID of user who last edited post. Most likely these somehow got out of sync – lock was triggered recently, but user wasn’t properly updated. Hard to guess why from information you … Read more
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