Warning: A non-numeric value encountered
-
I received this warning on my home page and don’t know how to get rid of it.
Warning: A non-numeric value encountered in /home1/stevenjklotz/public_html/wp-content/plugins/gutenberg/lib/block-supports/index.php on line 64The page I need help with: [log in to see the link]
-
Are you using the plugin? Which version of the plugin?
Yes,Version: 8.9.1
We did some work already on these warnings. It seems there are still some cases, do you mind sharing the “source code” of your post causing this?
Happy to Since I am a bit of a newbie. How do I find it?
When editing your post/page, you can get the code from the “Code Editor”. you can switch to edit by clicking on the “Code Editor” menu item on the dropdown shown when you click the three dots menu on the top right of the editor page.
<!– wp:heading –>
<h2>Klotz Electric Offers Quality Built by Experience</h2>
<!– /wp:heading –><!– wp:media-text {“align”:””,”mediaId”:472,”mediaType”:”image”,”isStackedOnMobile”:false} –>
<div class=”wp-block-media-text”><figure class=”wp-block-media-text__media”></figure><div class=”wp-block-media-text__content”><!– wp:paragraph –>
<p> Klotz Electric, LLC. is a Washington-based, family-owned and operated contractor with 15+ years of commercial, residential and industrial electrical knowledge and experience, servicing Wenatchee and its surrounding communities. We have a reputation for excellent service and reliable results. Safety and efficiency are our 1st concerns and we know how to save you cost and time.</p>
<!– /wp:paragraph –><!– wp:paragraph –>
<p>Schedule an appointment with us by calling<b> 509-393-3778</b>. We provide free estimates and offer a one-year guarantee on our work. Give us a call for reliable electrical and lighting repairs and services today!</p>
<!– /wp:paragraph –></div></div>
<!– /wp:media-text –><!– wp:separator {“className”:”is-style-wide”} –>
<hr class=”wp-block-separator is-style-wide”/>
<!– /wp:separator –><!– wp:columns {“className”:”has-2-columns has-3-columns”} –>
<div class=”wp-block-columns has-2-columns has-3-columns”><!– wp:column –>
<div class=”wp-block-column”><!– wp:heading {“align”:”center”,”level”:3,”className”:”has-text-color”} –>
<h3 class=”has-text-align-center has-text-color”>rESIDENTIAL</h3>
<!– /wp:heading –><!– wp:image {“id”:803,”className”:”size-large”} –>
<figure class=”wp-block-image size-large”></figure>
<!– /wp:image –><!– wp:paragraph –>
<p>Our experienced home electricians are experts at interior lighting and design, residential fixture installations, electrical panel and appliance upgrades, landscape lighting options, replacing outdated or overloaded wiring and more. We do everything from custom home renovations to central air conditioning and swimming pool and spa hookups.</p>
<!– /wp:paragraph –><!– wp:button {“align”:”left”} –>
<div class=”wp-block-button alignleft”>Learn More</div>
<!– /wp:button –></div>
<!– /wp:column –><!– wp:column –>
<div class=”wp-block-column”><!– wp:heading {“align”:”center”,”level”:3,”className”:”has-text-color”} –>
<h3 class=”has-text-align-center has-text-color”>Commercial</h3>
<!– /wp:heading –><!– wp:image {“id”:804,”className”:”size-large”} –>
<figure class=”wp-block-image size-large”></figure>
<!– /wp:image –><!– wp:paragraph –>
<p> Commercial electricians concentrate on working on industrial buildings, factories, and any other kind of commercial property you can think of. This sort of electrical work differs tremendously from residential work due to the amount of power required, and because of the code and regulations that have to be followed. We provide a variety of services to commercial properties. </p>
<!– /wp:paragraph –><!– wp:button –>
<div class=”wp-block-button”>Learn More</div>
<!– /wp:button –></div>
<!– /wp:column –></div>
<!– /wp:columns –><!– wp:legacy-widget {“instance”:{}} /–>
<!– wp:spacer {“height”:22} –>
<div style=”height:22px” aria-hidden=”true” class=”wp-block-spacer”></div>
<!– /wp:spacer –><!– wp:columns {“className”:”has-2-columns”} –>
<div class=”wp-block-columns has-2-columns”><!– wp:column –>
<div class=”wp-block-column”><!– wp:embed {“url”:”https://youtu.be/uj9xnLWaYtw”,”type”:”video”,”providerNameSlug”:”youtube”,”responsive”:true,”className”:”wp-embed-aspect-16-9 wp-has-aspect-ratio”} –>
<figure class=”wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio”><div class=”wp-block-embed__wrapper”>
</div></figure>
<!– /wp:embed –></div>
<!– /wp:column –><!– wp:column –>
<div class=”wp-block-column”><!– wp:image {“id”:748,”width”:682,”height”:382,”className”:”size-large”} –>
<figure class=”wp-block-image is-resized size-large”></figure>
<!– /wp:image –></div>
<!– /wp:column –></div>
<!– /wp:columns –><!– wp:shortcode –>
[testimonial_rotator id=246]
<!– /wp:shortcode –>I was having exactly the same issue with the update. Thought it might be Kadence blocks or another clash but uploaded older version of Gutenberg and its OK now. Have turned off automatic updates but would like to keep up to date really so its a bit of a worry. For now I need to work on the site so I’m not updating.
TriciaI’m having this same issue. Looked at the bad code and it looks okay to me.
This issue still hasn’t been solved for me.
Is anyone going to respond with a resolution?
I ended up figuring out how to replace the block with html and deleting Gutenberg.
- The topic ‘Warning: A non-numeric value encountered’ is closed to new replies.