silsbyc
Forum Replies Created
-
Disabling this stats setting on each site of a multisite is not easy to do. Is there a way to apply this setting network-wide?
I am seeing the same “critical error” when attempting to access the settings. Koko used to work correctly for a long time without errors on our multisite (activated individually per site), and only started appearing after 1.2. This critical error is still happening on 1.3.1.
The error log says:
PHP Fatal error: Uncaught TypeError: Return value of KokoAnalytics\Admin::get_database_size() must be of the type string, null returned in /wp-content/plugins/koko-analytics/src/class-admin.php:250
Thank you!
With ‘pre_option_wpcode_settings’ the filter now works, and it continues to work the way my site admins expected it to work.
I can’t get the filter to work as a plugin or MU plugin (which is necessary since the original Insert Headers and Footers plugin was installed individually across different sites on the network).
Thank you. Just to clarify, it will only show up for the Superadmin and not the Site Admins now?
Forum: Fixing WordPress
In reply to: Inconsistent response to file type uploadBased on a ticket I found on the core.trac (https://core.trac.ww.wp.xz.cn/ticket/40175)
I found this plugin fixed my “Some Office files won’t upload sometimes” problem: https://ww.wp.xz.cn/plugins/blob-mimes/
Forum: Fixing WordPress
In reply to: Inconsistent response to file type uploadCan you check the mime types of the files?
I’ve run into this problem with doc and docx files that when checked return a mime type of application/zip, rather than application/msword or application/vnd.openxmlformats-officedocument.wordprocessingml.document.
Still doesn’t answer the question of why it sometimes works, though.
Forum: Plugins
In reply to: [More Privacy Options] WordPress 5.5 sitemaps?Unlike other uses of
get_option('blog_public'), WordPress 5.5 seems to cast it as a bool in lines 88-89 in class-wp-sitemaps.phppublic function sitemaps_enabled() { $is_enabled = (bool) get_option( 'blog_public' );Forum: Plugins
In reply to: [SharDB] WordPress database error – Can’t select global_w – \nArray(Let me know if I should move this to a new thread)
So it looks like the delete_expired_transients function was added in WordPress 4.9.
But not sure why it isn’t returning the correct SharDB database and instead looking under wp_global.
Forum: Plugins
In reply to: [SharDB] WordPress database error – Can’t select global_w – \nArrayJust to clarify, meaning the error about trying to delete transients during cron jobs, like: WordPress database error Table ‘wp_global.wp_517_options’ doesn’t exist for query DELETE a, b FROM wp_517_options a, wp_517_options b\n\t\t\tWHERE a.option_name LIKE ‘\\\\_transient\\\\_%’\n\t\t\tAND a.option_name NOT LIKE ‘\\\\_transient\\\\_timeout\\\\_%’\n\t\t\tAND b.option_name = CONCAT( ‘_transient_timeout_’, SUBSTRING( a.option_name, 12 ) )\n\t\t\tAND b.option_value < 1516748497 made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, delete_expired_transients, SharDB->query
Forum: Plugins
In reply to: [SharDB] WordPress database error – Can’t select global_w – \nArrayWe are seeing the same error on our installation.
Does it matter that Options tables like wp_global.wp_517_options really don’t exist? It isn’t just the timeout, but the site options tables are under the sharded prefix? So, for example, wp_f4.wp_517_options exists, but wp_global.wp_517_options does not.
Forum: Plugins
In reply to: [Edit Author Slug] Timing out on Bulk Update with large userbaseIt seems to be getting many more of the users than before the update.
But still not catching all of 28,000. However, the “Automatically Update” feature is working to get the active users, so I will count this as resolved.
Thank you for all your hard work on this plugin. Made it much easier than changing all of the entries by hand.
Forum: Plugins
In reply to: [Edit Author Slug] Timing out on Bulk Update with large userbaseThanks for the update.
We have over 28,000 users. I’ll let you know how this works.
Forum: Plugins
In reply to: [CommentPress Core] Add Media problemThe HTTP/HTTPS switch is being done through Rewrite Rules on the webserver, not by a plugin. So no contextual overrides.
I’ve set up a test server to run fully through HTTPS for troubleshooting. And now the “Add Media” button works! (Might also be something to do with upgrading to WP 4.5.3 while doing this)
Discovered some more data points.
If accessing HTTPS front-end, then annotators need to be Editors in order to upload media to the annotation. I think this is new behavior, as previous semesters have had Authors leaving image annotations.
Forum: Plugins
In reply to: [CommentPress Core] Add Media problemWe are running WordPress 4.5.2 multisite with CommentPress Core 3.8.9 activated on a per site basis.
The front end is over HTTP, and the admin panel is over HTTPS. (So I am thinking it might have something to do with calling Add Media from HTTP, but it is handled over HTTPS)
Not sure when Add Media stopped working, as we only usually launch new CommentPress sites at the semester and this is the first time a class has reported this problem.
Thanks for any insight.