Ivan Privalov
Forum Replies Created
-
The error had disappeared after I’ve changed the AMP Theme several times and back to Swift…
You can see an error when Test-Validate with:
https://validator.ampproject.org/#url=https%3A%2F%2Fbeebole.com%2Fblog%2Fevaluate-timesheet-software-scorecard-spreadsheet%2Famp%2FWe have the same issue at:
https://beebole.com/blog/evaluate-timesheet-software-scorecard-spreadsheet/amp/The Google Search Console states:
The tag ‘amp-mustache extension .js script’ appears more than once in the document. This will soon be an error.Screenshot: https://i.imgur.com/wbgIhjQ.png
But the AMP Validator sees no errors…
Forum: Plugins
In reply to: [YoImages] Speed issue when creating thumbnails1000×10 images is nothing for the Database processing, so the database must not be a slow-down issue. Are you utilizing a shared hosting?
Not, the Bluehost, right? ??Forum: Plugins
In reply to: [YoImages] Speed issue when creating thumbnailsBut how big is your media-library and how many image-size do you create per image?
Do you have an image compressing plugin installed?Forum: Plugins
In reply to: [Responsify WP] WordPress Undefined index: fullHello Stefan, thank you for fixing this in the front-end.
Please, notice, as I said earlier, that the issue also exists in the back-end in the plugin setting page – /wp-admin/options-general.php?page=responsify-wpScreenshot: https://i.imgur.com/UIfOzvh.png
Notice: Undefined index: full in /wp-content/plugins/responsify-wp/admin/views/selected_sizes.php on line 23 and 24
Forum: Plugins
In reply to: [Responsify WP] WordPress Undefined index: fullTry to dump the array with:
$image_meta_data = wp_get_attachment_metadata( $this->id ); echo '<pre>'; var_dump($image_meta_data); echo '</pre>';
Forum: Plugins
In reply to: [Responsify WP] WordPress Undefined index: fullInfo:
$fullpath = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘full’ );Forum: Plugins
In reply to: [Responsify WP] WordPress Undefined index: fullLooking at the following code:
$image_meta_data = wp_get_attachment_metadata( $this->id );
…
why do you expect to see ‘full’ parent image-size in the array of sub-sizes?// Fix E_WARNING: Illegal string offset 'width' if(!is_array($image_meta_data['sizes']['full'])) { $image_meta_data['sizes']['full'] = array(); }
The standard wp_get_attachment_metadata() output looks like this:
Array ( [width] => 2400 [height] => 1559 [file] => 2011/12/press_image.jpg [sizes] => Array ( [thumbnail] => Array ( [file] => press_image-150x150.jpg [width] => 150 [height] => 150 [mime-type] => image/jpeg ) [medium] => Array ( [file] => press_image-4-300x194.jpg [width] => 300 [height] => 194 [mime-type] => image/jpeg ) [large] => Array ( [file] => press_image-1024x665.jpg [width] => 1024 [height] => 665 [mime-type] => image/jpeg ) [post-thumbnail] => Array ( [file] => press_image-624x405.jpg [width] => 624 [height] => 405 [mime-type] => image/jpeg ) ) [image_meta] => Array ( [aperture] => 5 [credit] => [camera] => Canon EOS-1Ds Mark III => [created_timestamp] => 1323190643 [copyright] => [focal_length] => 35 [iso] => 800 [shutter_speed] => 0.016666666666667 [title] => ) )
https://developer.www.ads-software.com/reference/functions/wp_get_attachment_metadata/
- This reply was modified 6 years, 9 months ago by Ivan Privalov.
- This reply was modified 6 years, 9 months ago by Ivan Privalov.
Forum: Plugins
In reply to: [Responsify WP] WordPress Undefined index: fullSame issue in the plugin back-end’s settings:
Notice: Undefined index: full in …/wp-content/plugins/responsify-wp/admin/views/selected_sizes.php on line 23
Forum: Plugins
In reply to: [Send Images to RSS] Max-width 100%Here are the settings we use:
Admin > Settings > Reading:
For each article in a feed, show – Full textAnd the plugin’s settings:
With those settings I was not able to modify the output of the build_image() function. Had to modify it in the source of the plugin [I know this is a bad idea and will be overwritten on update].
As of the max-width CSS, you should place the CSS output as following:
max-width:123px; max-width: 100%;All the dummy email-clients will skip the last rule with the %, but follow the previous with the ‘px’.
Thank you for a great plugin!
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Manually include the CSSp.s. it would also be nice to be able to select a semi-transparent CSS background color for the notice….
Forum: Plugins
In reply to: [Fast Velocity Minify] Exclude PagesThank you.
Meanwhile, this ‘must-use plugin’ option might be used to deactivate the plugin manually, but that is such a hack….
https://kinsta.com/blog/disable-wordpress-plugins/Forum: Plugins
In reply to: [Fast Velocity Minify] Exclude PagesThank you, Raul, this solution will not work, since the website works great with the JS compression and the only page we are having issue with is the Gravity Form page with the Conditional Logic on it.
I therefore need to somehow disable the plugin optimization at this page only…
Forum: Plugins
In reply to: [Easy Social Share Buttons] Undefined offset: 1 Connecting to VKSomething like:
if(is_array($shares))
return (int)$shares[ 1 ];Would fix it…