H. Adam Lenz
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Forms for ACF] File size validationYou can see the error in acf/validate_attachment
Forum: Plugins
In reply to: [Relevanssi - A Better Search] WP Job ManagerIt’s got something to do with caching there in wp-job-manager-function.php
between line 156 and 202. I traced the output to there and just applied the remove filter at the first chance before.I also looked at the WPQuery object before the query and this stood out
'request' => 'SELECT * FROM wp_9_posts WHERE 1=2',
A search for that in my plugins dir pointed me to relevanssi-premium/lib/common.php line 992 and 994. Affecting the variable
$prevent
might also have a positive outcome.Forum: Plugins
In reply to: [Relevanssi - A Better Search] Errors when using “searchblogs”there is a subsite with the blog id 18 and the tables are there
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Premium SQL errors since 1.15.xForum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Premium SQL errors since 1.15.xsorry, the code view wasn’t working for the above
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Premium SQL errors since 1.15.xI’m seeing another error now, should I start a new thread?
WordPress database error Unknown column ‘wp_18_postmeta.post_id’ in ‘where clause’ for query SELECT COUNT(DISTINCT(doc)) FROM wp_18_relevanssi AS relevanssi
WHERE (term LIKE ‘%excess’ OR term LIKE ‘excess%’) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wp_18_posts AS posts
WHERE posts.post_type NOT IN (‘revision’, ‘nav_menu_item’, ‘custom_css’, ‘customize_changeset’, ‘acf-field-group’, ‘acf-field’, ‘mod_clone’, ‘bu_link’))) OR (relevanssi.doc = -1)) AND ( wp_18_postmeta.post_id IS NULL)
made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/ncfgears-search/templates/template-search.php’), relevanssi_do_query, relevanssi_search_multi, QM_DB->querylooks like it gets built around line 554 in lib/premium_features.php
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Premium SQL errors since 1.15.xIt did, but I am still getting an error when using the multisite search
WordPress database error Unknown column 'wp_18_postmeta.post_id' in 'where clause' for query SELECT COUNT(DISTINCT(doc)) FROM wp_18_relevanssi AS relevanssi WHERE (term LIKE '%excess' OR term LIKE 'excess%') AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wp_18_posts AS posts WHERE posts.post_type NOT IN ('revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'acf-field-group', 'acf-field', 'mod_clone', 'bu_link'))) OR (relevanssi.doc = -1)) AND ( wp_18_postmeta.post_id IS NULL)
made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/ncfgears-search/templates/template-search.php'), relevanssi_do_query, relevanssi_search_multi, QM_DB->query
it looks like its around line 555 in lib/premium_features.php
- This reply was modified 7 years, 6 months ago by H. Adam Lenz.
- This reply was modified 7 years, 6 months ago by H. Adam Lenz.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Premium SQL errors since 1.15.xMikko, I am still seeing this issue in 1.16.0.1. has the fix been included in the newest release?
Forum: Plugins
In reply to: [Custom Post Exporter] Can’t find it?yup, kicked myself. they need to add this to the screenshots part of the plugin page methinks
Forum: Fixing WordPress
In reply to: How to add custom button to the tinyMCE embed media inline toolbarI figured it out. enjoy
https://github.com/hadamlenz/wp-tinymce-extra-buttons-on-inline-toolbars
Forum: Fixing WordPress
In reply to: How to add custom button to the tinyMCE embed media inline toolbarsetting
define( 'SCRIPT_DEBUG', true );
in wp-config will allow you to use the dev version of a tinymce plugin.The plugin that deals with this is at wp-includes/js/tinymce/plugins/wpview
in the dev file you need to add a button around line 183 and add it to the list in the
editor.once( ‘preinit’ function below.Editing core is a sin. The issue that needs to be solved is how to address a loaded tinymce plugin from another tinymce plugin, and then how to sideload new code into that plugin. Or, the entire wpview plugin needs to be removed and rebuilt in your plugin.
Correct me if I’m wrong
Forum: Fixing WordPress
In reply to: How to add custom button to the tinyMCE embed media inline toolbar@jakubkohout11gmailcom
I am on the same search right now.There seems to be a lot of documentation and tutorials on adding buttons to the toolbar, but nothing on adding anything to the inline toolbar over an oEmbed. I posted this question to the AWP Facebook group with no reply.
This is the closest thing I’ve found
https://www.tinymce.com/docs/demo/image-tools/- This reply was modified 8 years, 1 month ago by H. Adam Lenz.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Database Import Problem StopwordsOK would you suggest uninstalling relevanssi completely, and having another go at it?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Database Import Problem Stopwordscan you recommend a find and replace pattern for sublime text to fix the issue?
Forum: Plugins
In reply to: [User Role Editor] If no restrictions, user sees everythingmy apologies