Will Stocks
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] playsinline being stripped fromSorry, forgot:
PHP 7.3
Gutenberg 6.9
WP 5.3
Metabox 5.2.3@imtiazrayhan – I will give this a check and will let you know 🙂
No worries at all @imtiazrayhan – thank you so much for even looking into it 🙂
I’ve left the Remove Orphan Shortcodes plugin deactivated for the time being and hopefully I hear back from @mekshq from their end 🙂
I have just logged this with Remove Orphan Shortcodes: https://wordpress.org/support/topic/breaks-ultimate-blocks-plugin-frontend/
OK… I think I might have found an incompatibility with a plugin I use: Remove Orphan Shortcodes.
There’s nothing obvious, but I’ve been going through all of my plugins and de-activating them one-by-one and retesting and this one seems to result in the frontend displaying!!!
Have you ever heard of this before?
Hi @imtiazrayhan ,
Thanks for getting back to me 🙂
I’ve cleared all opcode caching etc. and I’m now not seeing PHP errors being logged at the moment (some good news I suppose!), however I’m still not seeing the output on the frontend correctly. I also uninstalled and reinstalled the plugin for good measure.
I will get another site set up to do some further testing, but really basic troubleshooting and taking the output from the frontend:
print_r($attributes):
Array ( [blockID] => [authorName] => [itemName] => [items] => [{"label": "", "value": 0}] [starCount] => 5 [summaryTitle] => Summary [summaryDescription] => [callToActionText] => [callToActionURL] => [callToActionBackColor] => #f63d3d [callToActionForeColor] => #ffffff [inactiveStarColor] => #888888 [activeStarColor] => #eeee00 [selectedStarColor] => #ffff00 [titleAlign] => left [authorAlign] => left [enableCTA] => 1 [ctaNoFollow] => 1 [ctaOpenInNewTab] => 1 )print_r(extract($attributes)):
19print_r($parsedItems):
Array ( [0] => Array ( [label] => [value] => 0 ) )print_r($blockID):
print_r($extractedValues):
Array ( [0] => 0 )My block was set up as follows:
Title: Test Author: Will Item 1: Test 1 Item 1 Star: 4 Item 2: Test 2 Item 2 Star: 3 Summary Title: Summary Summary Content: This is a test No call to action definedHi @imtiazrayhan
Is there any progress with regards to the above?
Cheers,
WillI have just updated and I am now seeing the following error being logged:
[Wed Oct 02 21:18:09.551994 2019] [proxy_fcgi:error] [pid 22552:tid 140337559992064] [client 127.0.0.1:55310] AH01071: Got error ' PHP message: PHP Warning: array_map(): Expected parameter 2 to be an array, null given in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/review/block.php on line 34 PHP message: PHP Warning: array_sum() expects parameter 1 to be array, null given in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/review/block.php on line 36 PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/review/block.php on line 36 PHP message: PHP Warning: Division by zero in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/review/block.php on line 36 PHP message: PHP Warning: Invalid argument supplied for foreach() in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/review/block.php on line 40', referer: https://willstocks.co.uk/?p=2943&preview=trueLet me know if you need any further info?
Apologies @imtiazrayhan – I was away for a week!
I will update ASAP and will get back to you 🙂
Thanks,
WillHi @alexius08
Ahhh, OK that’s great – thank you!
Is it due to me using PHP 7.3 or is it something else entirely?
I look forward to seeing a new version – I cannot wait to start using these blocks 😀
Error log:
AH01071: Got error 'PHP message: PHP Warning: Invalid argument supplied for foreach() in /mysite/wp-content/plugins/ultimate-blocks/src/blocks/image-slider/block.php on line 17'- This reply was modified 6 years, 9 months ago by Will Stocks.
Sorry – fixed the markup slightly (flickity wasn’t enqueuing properly for some reason – easy fix!).
But images still don’t show 🙁 I have selected 7 images
Forum: Plugins
In reply to: [Easy Table of Contents] Mobile Smooth Scroll Offset not being respectedPlease ignore – it turns out this was as a result of other JS failing before reaching the offset jquery
Forum: Plugins
In reply to: [Easy Table of Contents] Mobile Smooth Scroll Offset not being respectedI’ve also noticed that the version of jquery-smooth-scroll being used is quite out of date – v1.5.5 (latest = v2.2)? Is this planning to be updated at some point?