Pat K
Forum Replies Created
-
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Print Debug PHP ErrorAn important follow up to my previous message about the PHP error. The reason I was debugging this is because the plugin was not automatically generating the cache directory. And even after manually creating the directory, the plugin was not working. I did a ton of troubleshooting, including deactivating plugins etc with zero effect. As soon as I modified the adaptive-images-admin.php file as outlined above (escaping that single hyphen) the plugin was able to create the cache directory.
pkForum: Plugins
In reply to: [BulletProof Security] Empty Plugin Folder EmailsOk – makes sense. Thanks for clarifying. Still appreciate & recommend BPS.
Forum: Plugins
In reply to: [BulletProof Security] Empty Plugin Folder EmailsJust to add to this; I have had HPF Cron enabled for several projects for some time with zero issues, then after the last update I received the alarming email messages AND huge warning notifications in the dashboard – visible to all admins. And this was because I had a few compressed (.zip) plugin files in order to quickly roll back in case of issues. NOTE: these .zip file are not new. All around an unpleasant experience, so I’m disabling HPF Cron on all sites. I have other systems in place to check for hidden files so this was a “nice” redundant check… but this wasn’t so “nice” or subtle 🙁
I’m still looking into this; it’s a slow process since I don’t have access to the necessary server settings. I’ll follow up when I know more.
Forum: Plugins
In reply to: [Query Monitor] ERR_CONNECTION_TIMED_OUTUpdate. The server error (Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.) only affects the front end while logged in to the admin dashboard; the dashboard is unaffected. The front end is also unaffected for visitors who aren’t logged into the dashboard.I *think* it’s a ModSecurity problem. From the server error log:
ModSecurity: Output filter: Response body too large (over limit of 1048576, total not specified).I know there’s a suggested fix for this (https://support.plesk.com/hc/en-us/articles/115003160145), but I don’t have access to the Apache / nginx settings. Will contact the server admin and will report back if I’m able to get the plugin working without the server error.
- This reply was modified 4 years, 1 month ago by Pat K. Reason: clarification
Just a heads up. I took your advice and installed Query Monitor to troubleshoot. The plugin looked really promising – tons of useful info BUT it crashed the site: Internal Server Error. Perhaps more evidence of a problem with PHP 8. When time permits I’ll do more testing on this reCAPTCHA problem & will report back.
Forum: Plugins
In reply to: [Query Monitor] ERR_CONNECTION_TIMED_OUTThis plugin was recommended to me in the Forminator support forum to troubleshoot a problem. Upon activation of this plugin I too encountered an Internal Server Error message on the front end. Running WP 5.9.3 & PHP 8.0.17. Disabling Query Monitor restored service on the front end. Yikes.
Good idea! Thanks, I’ll do that.
Thanks for your quick reply! Site is running WP 5.9.3. I’ve already completed a conflict test. I’m wondering if there might a missing PHP extension. (Not my server, so I have limited access to what is and isn’t installed with PHP 8). Thanks for confirming there are no known issues. I will report back if / when I isolate the problem.
Excellent! Glad it worked for you.
pkYeah this was driving me crazy. Adaptive width was working fine for me a few days ago. Not sure what’s causing this. Maybe a plugin update? Try adding this to the custom CSS dialog in the widget:
.fb-page.fb_iframe_widget span { display: table-cell !important; position: relative; overflow: hidden; padding-top: 56.25%; } .fb-page.fb_iframe_widget span iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }NOTE: if you resize the browser window, the iframe isn’t responsive BUT it will load properly if you refresh the page – I noticed this before the current problem with ‘adaptive width’.
Also, make sure you uncheck ‘adaptive width’ in the widget settings, set a fixed width value (500px or less), save. Then re-check ‘adaptive width’ & save.
Hope it works for you.
pkForum: Plugins
In reply to: [Panda Pods Repeater Field] Output with Shortcodeone3rdnerd: thanks for sharing this! Most helpful.
For anyone who’s trying to add a repeater field using the templates that are built into PODS, this extends the shortcode function; tested & worked for me!
1. Edit/customize and paste the function below into the functions.php file in your custom theme to output an array including ALL fields. Why? It outputs a list of all the fields needed to edit the Repeater Fields function (the second function listed below). Note: change “name-of-the-pods-table-as-repeater-field” to the name shown in the Fields tab in your Pods Admin screen.
// Use this to output an array including ALL fields function repeater_shortcode() { global $post; echo '<pre>'; print_r( pods_field('name-of-the-pods-table-as-repeater-field')); echo '</pre>'; } add_shortcode('repeater', 'repeater_shortcode'); // end function2. Paste the shortcode [repeater] into the template window in PODS (and save).
3. Open the page on the front end, and copy and paste the output into a text file, so you have a list of all the available fields – shown in square brackets.
4. Comment out or remove the function above. Then paste in and edit/customize this new function:/* Repeater Fields */ function repeater_shortcode($atts) { global $post; ob_start(); $repeater = pods_field('name-of-the-pods-table-as-repeater-field'); if(!empty($repeater)) { echo "<h2 class='repeater-heading'>This Optional Subheading Appears Above the Repeater Fields</h2>"; } foreach($repeater as $val) { echo "<div class='repeater-block-container'>"; echo "<h3 class='available-field-1'>" . $val['available-field-1'] . "</h3>"; echo "<p class='available-field-2'>" . $val['available-field-2'] . "</p>"; echo "<p class='available-field-3'>" . $val['available-field-3'] . "</p>"; echo "</div>"; } return ob_get_clean(); } add_shortcode('repeater', 'repeater_shortcode'); // end function5. Make sure to customize ‘name-of-the-pods-table-as-repeater-field’ (same as you did for the first function) and replace the ‘available-fields’ with the ones shown in square brackets output from the first function. The HTML and class names can be modified as needed.
6. The shortcode is the same, so you don’t need to do anything other than save and upload functions.phpHope this helps if you’re trying to get repeater fields working with the built-in PODS templates…
Forum: Plugins
In reply to: [NextMove Lite - Thank You Page for WooCommerce] Disable Update NoticeI second this. SUPER annoying. Dismissing the notice does just that until the page is reloaded. It’s possible to hide this using CSS, but doing so hides ALL custom admin notices.
To the developers – there ARE methods to keep this disabled after it has been dismissed:
How to stop showing admin notice after close button has been clicked?
https://wordpress.stackexchange.com/questions/242705/how-to-stop-showing-admin-notice-after-close-button-has-been-clickedForum: Plugins
In reply to: [Dashboard Widgets Suite] Feature Request – Font Size Option for NotepadHappy to! (I edited my existing 5-star review.) I didn’t realize there were benefits in editing / augmenting an existing review. Thanks again!
pkForum: Plugins
In reply to: [Dashboard Widgets Suite] Feature Request – Font Size Option for NotepadWoohoo! This is awesome & makes me VERY happy! MUCH appreciated.
pk