Joshua Fredrickson
Forum Replies Created
-
Unfortunately, this is on GoDaddy hosting and I canβt get the client to move off of it.
Not my call. π
Forum: Plugins
In reply to: [Force Regenerate Thumbnails] grave bug with thumb regenerationI have a quick fix that’s working for me. Use at your own risk.
Look for this code around line 549 in
force-regenerate-thumbnails.php:if (!(strrpos($thumb, $file_info['filename']) === false)) {And change it to this:
if (!(strrpos($thumb, $file_info['filename']) === false) && !(strrpos($thumb, '.'.$file_info['extension']) === false)) {The plugin should now check for both a matching basename and extension before deleting the thumbnails.
Of course, this change will be overwritten if you reinstall or update the plugin.
- This reply was modified 9 years, 5 months ago by Joshua Fredrickson.
Forum: Plugins
In reply to: [Force Regenerate Thumbnails] grave bug with thumb regeneration+1
This issue makes this plugin unusable for me. Unfortunately, this is one of my go-to plugins but I really can’t use it as is.
Forum: Plugins
In reply to: [Bad Behavior] POST more than two days after GET = errorThat just means he hadn’t refreshed the site within two days of first visiting the page.
More than likely he left the browser tab open, came back several days later and submitted a comment without refreshing the page.
Or he’s exhibiting bad behavior and the request was correctly blocked. π
Forum: Fixing WordPress
In reply to: Updated to WP 4.5, TinyMCE no longer working correctly@dannidar This bug is fixed in upcoming WP 4.5.1. Good news is that you can manually patch it on any current site running 4.5 by following these steps.
Forum: Fixing WordPress
In reply to: Updated to WP 4.5, TinyMCE no longer working correctlyThanks Hardeep. I’m already on a default theme with all plugins deactivated. As mentioned, updating to TinyMCE 4.3.10 fixed the issue.
Forum: Fixing WordPress
In reply to: Updated to WP 4.5, TinyMCE no longer working correctlyI was able to confirm that this issue is related to the version of TinyMCE packaged with WordPress 4.5.
I replaced the existing TinyMCE files with TinyMCE 4.3.10 and everything works as expected.
Forum: Fixing WordPress
In reply to: Updated to WP 4.5, TinyMCE no longer working correctlyI have the same issue here. Vanilla WordPress 4.5 in Chrome 50.0.2661.75 beta-m (64-bit).
When I attempt to switch to the Text editor, I receive:
tinymce.min.js?ver=4308-20160323:11 Uncaught TypeError: Cannot read property 'ownerDocument' of undefinedWorks fine in Firefox.
Forum: Plugins
In reply to: [Alpine PhotoTile for Pinterest] Pins from Board not workingina4301, you’re never too old to learn! π
Glad it worked out for you.
Forum: Plugins
In reply to: [Alpine PhotoTile for Pinterest] Pins from Board not workingMy pleasure, sahelizabeth!
Forum: Plugins
In reply to: [Alpine PhotoTile for Pinterest] Pins from Board not workingHere’s a quick fix if you’re up for editing the plugin code directly. Note: This change will disappear should you reinstall or update the plugin.
In the
/wp-content/plugins/alpine-photo-tile-for-pinterest/gears/directory, editalpinebot-display.php.Find the following section (around line 441):
`/**
* Function for forming Pinterest request
*
* @ Since 1.2.4
*/
function get_pinterest_request(){
$options = $this->get_private(‘options’);$pinterest_uid = empty($options[‘pinterest_user_id’]) ? ” : $options[‘pinterest_user_id’];
$pinterest_src = empty($options[‘pinterest_source’]) ? ” : $options[‘pinterest_source’];
if( ‘board’ == $pinterest_src ){
$pinterest_board = empty($options[‘pinterest_user_board’]) ? ” : $options[‘pinterest_user_board’];
$request = ‘http://pinterest.com/’.$pinterest_uid.’/’.$pinterest_board.’/rss’;
}else{
$request = ‘http://pinterest.com/’.$pinterest_uid.’/feed.rss’;
}
return $request;
}`Change this line:
$request = 'http://pinterest.com/'.$pinterest_uid.'/'.$pinterest_board.'/rss';To this:
$request = 'http://pinterest.com/'.$pinterest_uid.'/'.$pinterest_board.'.rss';Yep. All it took was a dot in front of the ‘rss’ instead of a slash.
Forum: Plugins
In reply to: [Alpine PhotoTile for Pinterest] Pins from Board not workingHi Kate,
This appears to be an issue with the plugin. It was working on a site that I manage, and it stopped a few days ago.
Here are the errors I receive:
<aside id="aptfpinbytap_domain-2" class="pinterest"><div class="pinterest-title"><span style="background-color:#fff; padding-left:5px;">Featured Pinterest Gallery - What is Beauty?</span></div><!-- Using AlpinePT for Pinterest v1.2.6 with Pinterest RSS --><!-- Request made --><!-- Failed using wp_remote_get(), simplexml_load_string() and XML @ http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss --><!-- Failed using simplexml_load_file() and XML @ http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss --><!-- Failed once using fetch_feed() and RSS @ http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss --><!-- WP Error message: A feed could not be found at http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed. --><!-- Try SimplePie --><!-- Failed twice using fetch_feed() and RSS @ http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss --><!-- SimplePie Error message: This XML document is invalid, likely due to invalid characters. XML error: XML_ERR_NAME_REQUIRED at line 28, column 414 --><!-- Sorry:<br>- Please recheck your ID.--></aside>It appears as though Pinterest no longer uses those RSS URLs. When I attempt to load http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rss in the browser, I receive a 404.
However, loading http://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty/rsshttp://pinterest.com/colorstylstudio/colorstylestudio-what-is-beauty.rss does work.
Unfortunately, not much can be done until the plugin authors update the plugin to work with the correct Pinterest RSS URLs.
Unfortunately, this fix no longer works as of a few versions ago. Some of the error-handling code in SI CAPTCHA has been changed since this fix was first posted.
I recommend connecting with the developers of the plugin for an updated fix.
This is true for me as well. When you click on the ‘Check’ link in the Publish metabox, a jQuery error appears:
Uncaught TypeError: jQuery(…).parent.addClass is not a function
/wp-content/plugins/wordpress-seo/js/wp-seo-metabox.min.js?ver=2.2.1Here’s the error it’s throwing…
Fatal error: require_once(): Failed opening required 'WPSEO_PREMIUM_PATHclasses/google/Google_Client.php' (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/wp-content/plugins/google-analytics-for-wordpress/admin/api-libs/googleanalytics/class-google-analytics-client.php on line 4The WPSEO_PREMIUM_PATH constant is not defined in my instance.
Not sure how that one slipped through, but the end result is that version 5.2.5 is, as previously stated, b0rked.