paparappa
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Trying to access array offset on value of type nullYes it is a multisite and I see the blogs.php, must have just looked poorly before now. But i use docker and bitbucket pipelines so every time I build, the cache folder is cleared which would mean that blogs.php is deleted every time I build. However it does look like there’s a problem with those lines of code. To me it doesn’t seem as it handles $blog_data as NULL and maybe that could be the source of the problem.
Forum: Plugins
In reply to: [W3 Total Cache] Trying to access array offset on value of type nullI rewrote the line 187 in plugin code that is like this:
$blog_data = Util_WpmuBlogmap::get_current_blog_data(); if ( is_null( $blog_data ) ) $result = true; $result = ( $blog_data[0] == 'm' );
And rewrote it as follows:
$blog_data = Util_WpmuBlogmap::get_current_blog_data(); if ( is_null( $blog_data ) ) $result = true; if ( !empty( $blog_data ) ) $result = ( $blog_data[0] == 'm' );
And now it’s working.
Forum: Plugins
In reply to: [W3 Total Cache] Trying to access array offset on value of type nullHi and thank you for your reply! It seems I don’t have a file called blogs.php in the cache folder. Could that have something to do with the issue?
Forum: Hacks
In reply to: Adding wysiwyg to media descriptionOkay now i know more. I have to add an onclick thing to the submitbutton. But where the heck do i edit the submitbutton?
Forum: Hacks
In reply to: Adding wysiwyg to media descriptionOkay now i’ve added https://www.gosu.pl/steditor/ to media.php and the wysiwyg appears really fine instead of the normal textarea. However when i submit it submits an empty post. The textarea is named exactly the same only it now has an added style feature to it.
Why is this? Doesen’t media.php allow an html post of description or what?
Forum: Fixing WordPress
In reply to: How to get custom taxonomy urlOh wait. I found it! Thanks!
Forum: Fixing WordPress
In reply to: How to get custom taxonomy urlIn my admin there is no “View”. Its only Edit – Quick Edit – Delete.
Has this something to do with my setup in functions.php ?