Matt
Forum Replies Created
-
Forum: Plugins
In reply to: [HTML5shiv for WordPress] Plugin doesn't load??What? I was stating the fact that your plugin simply doesn’t do anything as released. There is nothing anywhere that actually makes it load and do anything.
So more on the puzzle – I just created my second subsite and that site is also getting the error now.
[14-Apr-2015 20:20:05 UTC] WordPress database error Table ‘prefix_wp.prefix_3_wfblockediplog’ doesn’t exist for query SELECT * FROM prefix_3_wfBlockedIPLog
ORDER BY blockCount DESC
LIMIT 5 made by wp_dashboard, do_meta_boxes, call_user_func, wfActivityReport::outputDashboardWidget, wfActivityReport->toWidgetView, wfActivityReport->getWidgetReport, wfActivityReport->getTopIPsBlockedJust a thought– is this table even supposed to exist for a subsite? With wordfence being network activated, wouldn’t the IP blocked log apply to the whole blog network and only be on the main site?
Just thought of something to add– while I thought this didn’t start happening until the latest update, I also just turned on the wordfence dashboard widget, which I think I did at the same time.
Well I solved it for now by creating a windows vbs script that runs every 30 minutes deleting .html and .old files that are >29 minutes last modified from within the page_enhanced directory.
ignore this post. above post didn’t show up for at least a minute and I thought it failed to post.
Just a note too, this was not an issue until the latest update.
My theme is heuman: https://alxmedia.se/themes/hueman/ but I do have a custom child theme. There is only 1 sub site currently. Plugins are below.
Note the following are developed by me and not released yet: asd-global, pdf-indexer, simple-rss-widget. While nothing I wrote should be interfering, I know you’ll question it. pdf-indexer and simple-rss-widget definitely wouldn’t be doing anything. asd-global contains all of my wordpress mods. These are all of the hooks that I have doing something on:
Filters:
asd-global.php add_filter( 'upload_dir', 'custom_upload_dir'); asd-global.php add_filter( 'sanitize_file_name', 't5_sanitize_filename', 10 ); asd-global.php add_filter( 'auth_cookie_expiration', 'mysite_change_cookie_expiration', 10, 3); asd-global.php add_filter( 'attachment_link', 'mysite_modify_attachment_link', 20, 2 ); inc\func_admin.php add_filter( 'attachment_fields_to_edit', 'hv_attachment_fields_edit', 10, 2); inc\func_admin.php add_filter( 'attachment_fields_to_save', 'hv_attachment_fields_save', 10, 2); inc\func_admin.php add_filter( 'attachment_fields_to_edit', 'upload_dir_attachment_fields_edit', 99, 2); inc\func_admin.php add_filter( 'page_attributes_dropdown_pages_args', 'mysite_filter_page_dropdowns', 10, 2); inc\func_admin.php add_filter( 'manage_posts_columns', 'AddThumbColumn' ); inc\func_admin.php add_filter( 'manage_pages_columns', 'AddThumbColumn' ); inc\func_admin.php add_filter( 'gettext', 'mysite_change_howdy', 10, 3); inc\func_content.php add_filter( 'wp_insert_post_data', 'mysite_p_br_filter'); inc\func_content.php add_filter( 'the_content', 'wpex_fix_shortcodes'); inc\func_content.php add_filter( 'widget_text', 'mysite_visual_editor_fix_shortcodes', 9); inc\func_content.php add_filter( 'get_the_excerpt', 'mysite_excerpt_filter' ); inc\func_content.php add_filter( 'the_content', 'mysite_custom_filter_the_content', 11 ); inc\func_content.php add_filter( 'widget_text', 'mysite_widget_text_the_content' ); inc\func_content.php add_filter( 'wp_get_attachment_url', 'mysite_correct_url_ssl'); inc\func_headers.php add_filter( 'the_generator', 'mysite_complete_version_removal'); inc\func_plugin_mods.php add_filter( 'relevanssi_match', 'mysite_relevanssi_date_weights'); inc\func_plugin_mods.php add_filter( 'relevanssi_hits_filter', 'mysite_relevanssi_hits_filter'); inc\func_plugin_mods.php add_filter( 'relevanssi_pre_excerpt_content', 'mysite_relevanssi_pre_excerpt_content'); inc\func_plugin_mods.php add_filter( 'black_studio_tinymce_widget_update', 'mysite_bstw_fix_shortcodes'); inc\func_plugin_mods.php add_filter( 'add_pddp_css', 'mysite_custom_add_pddp_css' ); inc\func_queries.php add_filter( 'the_category','mysite_category_filter',10,2); inc\func_queries.php add_filter( 'posts_where', 'mysite_add_pages_where', 10, 2 ); inc\func_rss.php add_filter( 'the_excerpt_rss', 'mysite_rss_mods'); inc\func_rss.php add_filter( 'the_content_feed', 'mysite_rss_mods'); inc\func_rss.php add_filter( 'posts_where', 'publish_later_on_feed'); inc\func_rss.php add_filter( 'wp_feed_cache_transient_lifetime', create_function('$fixrss', 'return 1800;') ); inc\func_tinymce.php add_filter( 'tiny_mce_before_init', 'mysite_mce_add_styles' ); inc\func_tinymce.php add_filter( 'tiny_mce_before_init', 'mysite_mce_add_font_sizes'); inc\func_tinymce.php add_filter( 'tiny_mce_before_init', 'mysite_mce_change_paste_as_text'); inc\func_tinymce.php add_filter( 'mce_external_plugins', 'mysite_mce_js' ); inc\func_tinymce.php add_filter( 'mce_buttons', 'mysite_register_mce_buttons' ); sites\2\functions.php add_filter( 'mla_gallery_item_values', 'mysite_policies_mla_gallery_item_values', 10, 1 );
Actions:
inc\func_admin.php add_action( 'admin_enqueue_scripts', 'mysite_admin_styles' ); inc\func_admin.php add_action( 'admin_enqueue_scripts', 'mysite_check_featured_image', 20, 1 ); inc\func_admin.php add_action( 'wp_before_admin_bar_render', 'mysite_remove_buttons' ); inc\func_admin.php add_action( 'admin_bar_menu', 'add_to_admin_menu', 50 ); inc\func_admin.php add_action( 'post_submitbox_misc_actions', 'mysite_discard_button' ); inc\func_admin.php add_action( 'wp_dashboard_setup', 'mysite_remove_dashboard_widgets', 15); inc\func_admin.php add_action( 'manage_posts_custom_column', 'AddThumbValue', 10, 2 ); inc\func_admin.php add_action( 'manage_pages_custom_column', 'AddThumbValue', 10, 2 ); inc\func_admin.php add_action( 'media_row_actions','mysite_user_attachment_restrict', 2, 1); inc\func_headers.php add_action( 'admin_head-post.php', function() { inc\func_headers.php add_action( 'wp_enqueue_scripts', 'mysite_global_styles', 15 ); inc\func_headers.php add_action( 'login_enqueue_scripts', 'mysite_global_styles', 10 ); inc\func_headers.php add_action( 'wp_head', 'mysite_add_headers_first', 1 ); inc\func_headers.php add_action( 'wp_head', 'mysite_add_headers' ); inc\func_headers.php add_action( 'wp_head', 'mysite_meta_noindex'); inc\func_plugin_mods.php add_action( 'wp_enqueue_scripts', 'gce_remove_css' ); inc\func_plugin_mods.php add_action( 'bcn_after_fill', 'bcn_mod'); inc\func_plugin_mods.php add_action( 'admin_enqueue_scripts', 'mysite_remove_publish_view_enqueue', 9 ); inc\func_plugin_mods.php add_action( 'post_submitbox_start', 'mysite_remove_publish_view_submitbox_start', 9 ); inc\func_plugin_mods.php add_action( 'post_submitbox_start', 'mysite_remove_w3tc_purge_link', 9); inc\func_plugin_mods.php add_action( 'wp_trash_post', 'mysite_w3tc_wp_trash_post' ); inc\func_queries.php add_action( 'pre_get_posts', 'mysite_posts_on_home' ); inc\func_rss.php add_action( 'do_feed_rss2', 'create_my_custom_rss2_feed', 10, 1); inc\func_rss.php add_action( 'do_feed_rdf', 'create_my_custom_rdf_feed', 10, 1); inc\func_rss.php add_action( 'do_feed_atom', 'create_my_custom_atom_feed', 10, 1); inc\func_tinymce.php add_action( 'admin_head', 'mysite_add_mce_buttons');
NETWORK ACTIVATED
admin-menu-editor
all-in-one-seo-pack
asd-global
captcha
custom-login
disable-comments
enable-media-replace
ewww-image-optimizer
font-awesome-shortcodes
force-save-draft
google-analytics-dashboard-for-wp
media-library-assistant
multisite-enhancements
multisite-plugin-manager
publish-date-datepicker
publish-view
seo-image
shortcodes-ultimate
tinymce-advanced
tinymce-colorpicker
tinymce-spellcheck
user-role-editor
user-switching
w3-total-cache
wordfence
wpmuldap
wp-security-audit-logMAIN SITE – Activated Plugins
black-studio-tinymce-widget
breadcrumb-navxt
broken-link-checker
bulk-delete
bulk-move
cms-tree-page-view
global-content-blocks
google-calendar-events
google-document-embedder
iwp-client
list-category-posts
manual-image-crop
net-menu
opcache
page-list
pdf-indexer
post-expirator
post-links-widget
post-status-notifier
printfriendly
really-simple-facebook-twitter-share-buttons
redirection
relevanssi
reveal-ids-for-wp-admin-25
simple-history
simple-rss-widget
table-of-contents-plus
tinymce-colorpicker
tinymce-spellcheck
wp-editor
wp-media-cleaner
wp-pagenaviSITE WITH ISSUE – Activated Plugins
breadcrumb-navxt
broken-link-checker
iwp-client
net-menu
pdf-indexer
post-status-notifier
relevanssi
reveal-ids-for-wp-admin-25
simple-history
wp-editor
wp-pagenaviThis is a network activated install and the error is only on the one (and only) subsite that I have. The main blog is fine. The user/permission is the same user for the entire database so it isn’t nor wasn’t a permission issue. How would I reinstall without losing settings?
Still having this problem. My front page is now over 2 days old and shouldn’t be older than 15 minutes expires + 10 minutes garbage. I’ve tried going to a non-cached post (verified), logging in and out, running wp-cron.php and “/wp-cron.php?doing_wp_cron” and the page is still over 2 days old. The only thing that makes it refresh is to publish a post or purge the cache.
Forum: Plugins
In reply to: [OPcache Dashboard] Notice in error log after updating pluginI double checked my php.ini and it’s set to:
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE
To verify another plugin wasn’t changing something, I put this in my theme’s functions.php:
function error_level_tostring($intval, $separator) { $errorlevels = array( E_ALL => 'E_ALL', E_USER_DEPRECATED => 'E_USER_DEPRECATED', E_DEPRECATED => 'E_DEPRECATED', E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR', E_STRICT => 'E_STRICT', E_USER_NOTICE => 'E_USER_NOTICE', E_USER_WARNING => 'E_USER_WARNING', E_USER_ERROR => 'E_USER_ERROR', E_COMPILE_WARNING => 'E_COMPILE_WARNING', E_COMPILE_ERROR => 'E_COMPILE_ERROR', E_CORE_WARNING => 'E_CORE_WARNING', E_CORE_ERROR => 'E_CORE_ERROR', E_NOTICE => 'E_NOTICE', E_PARSE => 'E_PARSE', E_WARNING => 'E_WARNING', E_ERROR => 'E_ERROR'); $result = ''; foreach($errorlevels as $number => $name) { if (($intval & $number) == $number) { $result .= ($result != '' ? $separator : '').$name; } } return $result; } error_log( error_level_tostring(error_reporting(), ','));
and it spat out this:
[10-Apr-2015 19:56:20 UTC] E_RECOVERABLE_ERROR,E_USER_WARNING,E_USER_ERROR,E_COMPILE_ERROR,E_CORE_WARNING,E_CORE_ERROR,E_PARSE,E_WARNING,E_ERROR
Forum: Plugins
In reply to: [OPcache Dashboard] Notice in error log after updating pluginThat’s the thing, I’m not logging notices. I am the administrator. You sure there isn’t an ini_set or something going on?
Forum: Plugins
In reply to: [W3 Total Cache] Flush front page on delete postforgot to mark resolved
Forum: Plugins
In reply to: [W3 Total Cache] Flush front page on delete postSo this does appear to be working actually. Perhaps I wasn’t waiting long enough:
if (function_exists('w3tc_pgcache_flush_post')) { function asd_w3tc_wp_trash_post( $post_id ) { w3tc_pgcache_flush_post( $post_id ); } add_action( 'wp_trash_post', 'asd_w3tc_wp_trash_post' ); }
FYI — this keeps showing up
Forum: Plugins
In reply to: [W3 Total Cache] Flush front page on delete postSo it flushes on delete, but not on “trash post.” I tried both…
if (function_exists('w3tc_pgcache_flush_post')) { function asd_w3tc_wp_trash_post( $post_id ) { do_action('w3tc_pgcache_flush_post', $post_id); } add_action( 'wp_trash_post', 'asd_w3tc_wp_trash_post' ); }
and
if (function_exists('w3tc_pgcache_flush_post')) { function asd_w3tc_wp_trash_post( $post_id ) { w3tc_pgcache_flush_post($post_id); } add_action( 'wp_trash_post', 'asd_w3tc_wp_trash_post' ); }
but it doesn’t seem to be flushing the front page still. any help on how I can manually call this?
Thanks
Forum: Plugins
In reply to: [EWWW Image Optimizer] SQL Error upgrading from 2.3.0 to 2.3.1Same here– WordPress database error Duplicate key name ‘path_image_size’ for query ALTER TABLE prefix_ewwwio_images ADD INDEX path_image_size (path(255), image_size) made by do_action(‘admin_init’), call_user_func_array, ewww_image_optimizer_admin_init, ewww_image_optimizer_init, ewww_image_optimizer_install_table, dbDelta