phinn
Forum Replies Created
-
Forum: Plugins
In reply to: [WebP Express] When no conversion metho appearsI was running into the same issue. Imagick is enabled on dreamhost, but webp isn’t listed as a supported format. I asked support about it and they replied:
“We have a known report where WebP is not enabled in the gd php module.
Our developers and specialist are working on a fix, unfortunately, we
don’t have an estimated time of solution. Since you are on a shared
server, you won’t be able to run “sudo apt-get install webp” as it will
require root/sudo access which is not available on this shared server.
Now, we won’t be able to run this command as it is already being worked
on by our developers and doing so right now might affect other customers
that are on this same shared server.”So looks like something they are fixing and should be working again at some point in the future. But if need be you can probably send a ticket to support as well to add your account to the report as well.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Still getting 502 errors on WPEngineI got a response using the support on their site:
Unfortunately, issues are possible if you use WP Engine host and their PHP version 7.2. even though our development team makes every effort to make the plugin compatible with all hostings and PHP versions. In this case, the solution is to change the hosting, although we understand that in most cases this is not possible, or to try our new embeddable Calendar App which you can easily display it on your website and where such issues are not possible: https://app.dev.time.ly/signup
I think we’ll be moving to the events calendar here shortly
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Still getting 502 errors on WPEngineYes, I am on wpengine.
I disabled the plugin on my staging site and am not getting errors on thereForum: Plugins
In reply to: [Relevanssi - A Better Search] Admin CPT Search Conflict with Yoast PluginThank-you, I haven’t run into this before and didn’t see that thread when searching. Disabling the text link counter worked
Thanks for your help
Nope, i think it fails before getting to that filter.
Here’s the mysql:
<div id="error"><p class="wpdberror"><strong>WordPress database error:</strong> [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ( ( wp_postmeta.meta_key = 'add_to_resources' AND wp_postmeta.meta_value ' at line 2]<br /><code>SELECT COUNT(DISTINCT(relevanssi.doc)) FROM wp_relevanssi AS relevanssi INNER JOIN wp_postmeta ON ( relevanssi.doc = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( relevanssi.doc = mt1.post_id ) WHERE relevanssi.term = 'live' AND AND ( ( wp_postmeta.meta_key = 'add_to_resources' AND wp_postmeta.meta_value = 'documents' ) AND ( mt1.meta_key = 'search' AND mt1.meta_value IN ('live') ) ) AND ( relevanssi.doc IN ( SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_type IN ('attachment') ) ) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_status IN ('inherit'))) OR (doc = -1))</code></p></div><div id="error"><p class="wpdberror"><strong>WordPress database error:</strong> [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ( ( wp_postmeta.meta_key = 'add_to_resources' AND wp_postmeta.meta_value ' at line 3]<br /><code>SELECT COUNT(DISTINCT(relevanssi.doc)) FROM wp_relevanssi AS relevanssi INNER JOIN wp_postmeta ON ( relevanssi.doc = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( relevanssi.doc = mt1.post_id ) WHERE (relevanssi.term LIKE 'live%' OR relevanssi.term_reverse LIKE CONCAT(REVERSE('live'), '%')) AND AND ( ( wp_postmeta.meta_key = 'add_to_resources' AND wp_postmeta.meta_value = 'documents' ) AND ( mt1.meta_key = 'search' AND mt1.meta_value IN ('live') ) ) AND ( relevanssi.doc IN ( SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_type IN ('attachment') ) ) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_status IN ('inherit'))) OR (doc = -1))</code></p></div>string(1006) "SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * 10 + relevanssi.content * 2 + relevanssi.comment * 0.75 + relevanssi.tag * 0.75 + relevanssi.link * 0 + relevanssi.author + relevanssi.category * 0.75 + relevanssi.excerpt + relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf FROM wp_relevanssi AS relevanssi INNER JOIN wp_postmeta ON ( relevanssi.doc = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( relevanssi.doc = mt1.post_id ) WHERE relevanssi.term = 'live' AND AND ( ( wp_postmeta.meta_key = 'add_to_resources' AND wp_postmeta.meta_value = 'documents' ) AND ( mt1.meta_key = 'search' AND mt1.meta_value IN ('live') ) ) AND ( relevanssi.doc IN ( SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_type IN ('attachment') ) ) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_status IN ('inherit'))) OR (doc = -1)) ORDER BY tf DESC LIMIT 500"
here’s a query
["query"]=> array(9) { ["post_type"]=> string(10) "attachment" ["posts_per_page"]=> int(20) ["paged"]=> int(1) ["tax_query"]=> array(3) { ["relation"]=> string(3) "AND" [0]=> array(1) { ["relation"]=> string(3) "AND" } [1]=> array(1) { ["relation"]=> string(2) "OR" } } ["meta_query"]=> array(3) { ["relation"]=> string(3) "AND" [0]=> array(3) { ["key"]=> string(16) "add_to_resources" ["value"]=> string(9) "documents" ["compare"]=> string(1) "=" } [1]=> array(3) { ["key"]=> string(6) "search" ["value"]=> array(1) { [0]=> string(7) "capture" } ["compare"]=> string(2) "IN" } } ["order"]=> string(3) "ASC" ["orderby"]=> string(5) "title" ["post_status"]=> string(7) "inherit" ["s"]=> string(7) "capture" }
but getting the query example for you i think i figured it out. the tax_query is basically empty, in 4.1.4 this wasn’t an issue but now this is what is breaking it. I have a function when setting the args to filter the parameters of the request, it will return an array like above by default. If i comment this out it works again
Forum: Plugins
In reply to: [Gutenberg] Pasting text includes style rules and informationI know about some work arounds for this, but there is still something that could be improved upon here. This issue doesn’t happen in the default paragraph block, or the old editor. It’s not just word files either, it’s the same if copying from sketch files as well.
Forum: Plugins
In reply to: [GatherContent Plugin] Updated plugin can't create template mappingYes, I restarted MAMP each time I made a change and verified that it applied
Forum: Plugins
In reply to: [GatherContent Plugin] Updated plugin can't create template mappingHi there,
I’m running into this issue as well when trying to access the new map page locally. I’m using MAMP and I’ve tried php versions 5.6.25 and 7.0.10. With both versions I have tried the output buffering at 4096, 8192, and ‘On’ with no success.
ThanksForum: Plugins
In reply to: [Editor Menu and Widget Access] Not removing themes and background from menui don’t think we understand each other- i want the themes submenu to be hidden (like the plugin says it does) but it is in fact not hidden
Forum: Plugins
In reply to: [Editor Menu and Widget Access] Not removing themes and background from menuthe description page says “but the Themes submenu has been hidden.”
Forum: Themes and Templates
In reply to: Keep a separate constant title on all individual blog post pages<h1><?php if(!is_single()){ echo get_the_title(); } else { echo 'News';} ?></h1>
figured it out if anyone else needs it.Forum: Themes and Templates
In reply to: comment broke the code?after an hour of freaking out, and then my tab refreshed at some point which made it worse because the error wouldn’t even let me visit the page to edit the code, it fixed it self. what the heck? i’m glad it did, but this doesn’t make sense at all
Forum: Themes and Templates
In reply to: comment broke the code?/** Add disclaimer below footer */ add_action( 'genesis_after', 'agentpress_disclaimer' ); /** * Add disclaimer widget area on Genesis after hook * */ function agentpress_disclaimer() { if ( is_active_sidebar( 'disclaimer' ) ) { echo '<div class="disclaimer">'; genesis_structural_wrap( 'disclaimer' ); dynamic_sidebar( 'disclaimer' ); genesis_structural_wrap( 'disclaimer', 'close' ); echo '</div><!-- end .disclaimer -->'; } }
here’s the section of code in question. i was looking up where to find the copyright text and was told to check function.php. so i tested this
/**add_action( 'genesis_after', 'agentpress_disclaimer' );*/
which didn’t work, i reversed my actions and now it has a problem with the last curly bracket listed
Forum: Themes and Templates
In reply to: comment broke the code?sorry if i wasn’t wording this properly but the comment wasn’t originally there, i added it, it didn’t work, i out the comment i added and it broke the next if statement somehow without even touching it