Zaher (za-her)
Forum Replies Created
-
Amazing, thank you all for this.
Thanks @rsouzaam
Hi @rsouzaam
- Yes, the error appear after trying to install the plugin using the custom code
- if I refresh the page I got this screen https://share.zight.com/nOuOjJbl which is what I expect after adding the custom code
Here is the full error message
load-scripts.php?c=0…lupload&ver=6.8.3:2 Uncaught ReferenceError: wpf is not defined
at HTMLDocument.ready (admin.min.js?ver=1.9.8.2:1:590)
at e (load-scripts.php?c=0…d&ver=6.8.3:2:27028)
at t (load-scripts.php?c=0…d&ver=6.8.3:2:27330)
ready @ admin.min.js?ver=1.9.8.2:1
e @ load-scripts.php?c=0…lupload&ver=6.8.3:2
t @ load-scripts.php?c=0…lupload&ver=6.8.3:2
setTimeout
(anonymous) @ load-scripts.php?c=0…lupload&ver=6.8.3:2
c @ load-scripts.php?c=0…lupload&ver=6.8.3:2
add @ load-scripts.php?c=0…lupload&ver=6.8.3:2
(anonymous) @ load-scripts.php?c=0…lupload&ver=6.8.3:2
(anonymous) @ load-scripts.php?c=0…lupload&ver=6.8.3:5
e.<computed> @ load-scripts.php?c=0…lupload&ver=6.8.3:5
then @ load-scripts.php?c=0…lupload&ver=6.8.3:2
ce.fn.ready @ load-scripts.php?c=0…lupload&ver=6.8.3:2
ce.fn.init @ load-scripts.php?c=0…lupload&ver=6.8.3:2
(anonymous) @ load-scripts.php?c=0…lupload&ver=6.8.3:5
e.<computed> @ load-scripts.php?c=0…lupload&ver=6.8.3:5
ce @ load-scripts.php?c=0…lupload&ver=6.8.3:2
init @ admin.min.js?ver=1.9.8.2:1
(anonymous) @ admin.min.js?ver=1.9.8.2:1
(anonymous) @ admin.min.js?ver=1.9.8.2:1Check these two videos that I did on a clean instawp site, nothing special at all
Here is the custom code I used
<!-- wp:wpforms/form-selector {"clientId":"406c62bf-d413-4f54-9e34-6ea96a36e1dd","formId":"2115","copyPasteJsonValue":"{\u0022displayTitle\u0022:false,\u0022displayDesc\u0022:false,\u0022theme\u0022:\u0022default\u0022,\u0022themeName\u0022:\u0022\u0022,\u0022fieldSize\u0022:\u0022medium\u0022,\u0022backgroundImage\u0022:\u0022none\u0022,\u0022backgroundPosition\u0022:\u0022center center\u0022,\u0022backgroundRepeat\u0022:\u0022no-repeat\u0022,\u0022backgroundSizeMode\u0022:\u0022cover\u0022,\u0022backgroundSize\u0022:\u0022cover\u0022,\u0022backgroundWidth\u0022:\u0022100px\u0022,\u0022backgroundHeight\u0022:\u0022100px\u0022,\u0022backgroundUrl\u0022:\u0022url()\u0022,\u0022backgroundColor\u0022:\u0022rgba( 0, 0, 0, 0 )\u0022,\u0022fieldBorderRadius\u0022:\u00223px\u0022,\u0022fieldBorderStyle\u0022:\u0022solid\u0022,\u0022fieldBorderSize\u0022:\u00221px\u0022,\u0022fieldBackgroundColor\u0022:\u0022#ffffff\u0022,\u0022fieldBorderColor\u0022:\u0022rgba( 0, 0, 0, 0.25 )\u0022,\u0022fieldTextColor\u0022:\u0022rgba( 0, 0, 0, 0.7 )\u0022,\u0022fieldMenuColor\u0022:\u0022#ffffff\u0022,\u0022labelSize\u0022:\u0022medium\u0022,\u0022labelColor\u0022:\u0022rgba( 0, 0, 0, 0.85 )\u0022,\u0022labelSublabelColor\u0022:\u0022rgba( 0, 0, 0, 0.55 )\u0022,\u0022labelErrorColor\u0022:\u0022#d63637\u0022,\u0022buttonSize\u0022:\u0022medium\u0022,\u0022buttonBorderStyle\u0022:\u0022none\u0022,\u0022buttonBorderSize\u0022:\u00221px\u0022,\u0022buttonBorderRadius\u0022:\u00223px\u0022,\u0022buttonBackgroundColor\u0022:\u0022#066aab\u0022,\u0022buttonTextColor\u0022:\u0022#ffffff\u0022,\u0022buttonBorderColor\u0022:\u0022#066aab\u0022,\u0022pageBreakColor\u0022:\u0022#066aab\u0022,\u0022containerPadding\u0022:\u00220px\u0022,\u0022containerBorderStyle\u0022:\u0022none\u0022,\u0022containerBorderWidth\u0022:\u00221px\u0022,\u0022containerBorderColor\u0022:\u0022#000000\u0022,\u0022containerBorderRadius\u0022:\u00223px\u0022,\u0022containerShadowSize\u0022:\u0022none\u0022,\u0022customCss\u0022:\u0022\u0022}"} /-->Here is the system info
### Begin System Info ###
-- WPForms Info
Lite: Oct 16, 2025 at 8:15am (GMT)
Lite Connect: Backup is not enabled
-- Site Info
Site URL: https://wp-forms-demo.instawp.dev
Home URL: https://wp-forms-demo.instawp.dev
Multisite: No
-- WordPress Configuration
Version: 6.8.3
Language: en_US
User Language: en_US
Permalink Structure: /%postname%/
Active Theme: Extendable 2.0.29
Show On Front: posts
ABSPATH: /home/zokuyanelo8131/web/wp-forms-demo.instawp.dev/public_html/
Table Prefix: Length: 8 Status: Acceptable
WP_DEBUG: Disabled
WPFORMS_DEBUG: Not set
Memory Limit: 512M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, in-progress, failed
Revisions: Enabled
-- WordPress Uploads/Constants
WP_CONTENT_DIR: /home/zokuyanelo8131/web/wp-forms-demo.instawp.dev/public_html/wp-content
WP_CONTENT_URL: https://wp-forms-demo.instawp.dev/wp-content
UPLOADS: Not set
wp_uploads_dir() path: /home/zokuyanelo8131/web/wp-forms-demo.instawp.dev/public_html/wp-content/uploads/2025/10
wp_uploads_dir() url: https://wp-forms-demo.instawp.dev/wp-content/uploads/2025/10
wp_uploads_dir() basedir: /home/zokuyanelo8131/web/wp-forms-demo.instawp.dev/public_html/wp-content/uploads
wp_uploads_dir() baseurl: https://wp-forms-demo.instawp.dev/wp-content/uploads
-- WordPress Active Plugins
Query Monitor: 3.20.0
WP Crontrol: 1.19.2
WPForms Lite: 1.9.8.2
-- WordPress Inactive Plugins
-- Webserver Configuration
PHP Version: 8.4.12
MySQL Version: 11.4.7
Webserver Info: Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.13
-- PHP Configuration
Memory Limit: 512M
Upload Max Size: 256M
Post Max Size: 256M
Upload Max Filesize: 256M
Time Limit: 300
Max Input Vars: 1000
Display Errors: N/A
-- PHP Extensions
cURL: Supported
fsockopen: Supported
SOAP Client: Installed
Suhosin: Not Installed
-- Session Configuration
Session: Disabled
### End System Info ###If there is anything else needed from me or want to jump on a call or something I can help with let me know.
Hey @rsouzaam
I just retest it, and now I am getting an error says
wpfis not definedhttps://share.zight.com/L1uw1Q6l
any idea what is the issue? This error is on a clean WP site with no plugins installed
hey @rsouzaam
Thanks for the info, I’ll test it soon.
Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Missing package.json fileAmazing, thanks @wimbraam
Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Missing package.json fileForum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Missing package.json fileHey @jarnovos
Our aim is to make the package on ww.wp.xz.cn as small as possible.
Those small files does not make the size of the package huge.
While I can’t provide an exact answer on when/how this will be addressed yet; we will definitely discuss & review our build process to make sure we’re properly including each of the necessary files, to ensure full
GPL-2.0-or-latercompliance.I know its not my part, but publishing the full source code (and making it publicly available) to github/gitlab can help with that. As it will even helps removing the source code from the package pushed to wordpress while following the rules of
GPL-2.0-or-laterThanks
- This reply was modified 1 year ago by Zaher (za-her).
Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Missing package.json fileHey @jarnovos
The code is released under GPL-2.0-or-later license which means that even those small files should be included in the code, in the same way that the
composer.jsonfile has been included.if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
GPL2.0 or later introductioncomplete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.
GPL2.0 Terms and Conditions for Copying Distribution and ModificationThose missing file control the compilation of the source code, and should be included as part of the code, otherwise the plugin does not follow the license rules correctly.
Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Error registering block.something outside of this issue, the plugin uri needs fixing
currently it is
* Plugin URI: https://help.simplybook.me/index.php/WordPress_plugnit should be
* Plugin URI: https://help.simplybook.me/index.php/WordPress_pluginForum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Error registering block.looking deeper I can see some other warnings in the console log
Block type "simplybook/widget" must support API version 2 or higher to work correctly with "useBlockProps" method.Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Error registering block.Exactly, refreshing the page solve the issue, but it should not be required.
- The plugin should not produce any error
- The plugin should not require the refresh of the page to work.
Older versions used to work without any problem, so something in the current new code is causing the issue.
You can try the same thing with older versions or other plugins like contact-7 and you will see that there is no need to refresh the page.
Otherwise, I would go and install the plugin manually then add the block instead of all of this.
Forum: Plugins
In reply to: [SimplyBook.me - Booking and reservations calendar] Error registering block.I hope I understood the question correctly; am I correct in assuming that you’re trying to use the Simplybook Widget (Block) without having the SimplyBook plugin installed on your website?
Yes you are right
If so, this certainly seems to be the cause of the issue you’re experiencing; you’ll need the latest version of SimplyBook in place to use the widget in question on pages of your WordPress site
This is where you have missed the whole point from having the missing widget block, as clicking on the “Install Simplybook Widget” button will install the missing plugin and register the missing block for it.
This is the same functionality that is provided when you search for a block that you don’t have, you will get some that you can just click to install and insert in the page without the need to go to the plugins page and install the plugin manually

hey @rsouzaam its really strange that you marked this ticket as resolved.
I was able to reproduce the issue, but after reloading the page in the block editor, the WPForms block appeared.
The block editor should not needs to reload for the block to appear.
It seems the code needs the page to be reloaded to complete the process.
Yes the plugin requires that I save the page content, reload it and then the block will work.
So this is clearly a bug in the plugin itself, other contact forms plugins does not require the reload to work.
hey @rsouzaam
Please be sure that WPForms Lite is installed on your site. This is required to have access to the WPForms block
I agree with you, but the whole idea from the missing button is to install the plugin if its missing
When you have a chance, could you please share the code you used in the block editor in the screencast? This way, I can try to reproduce the “Error registering block” and investigate it.
sure thing, here is a dummy code that you can use. make sure not to have Wpforms-lite installed before using this one, other wise you won’t be able to see the button

<!-- wp:group {"metadata":{"name":"Contact - Dummy"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-background-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:wpforms/form-selector {"clientId":"406c62bf-d413-4f54-9e34-6ea96a36e1dd","formId":"2115","copyPasteJsonValue":"{\u0022displayTitle\u0022:false,\u0022displayDesc\u0022:false,\u0022theme\u0022:\u0022default\u0022,\u0022themeName\u0022:\u0022\u0022,\u0022fieldSize\u0022:\u0022medium\u0022,\u0022backgroundImage\u0022:\u0022none\u0022,\u0022backgroundPosition\u0022:\u0022center center\u0022,\u0022backgroundRepeat\u0022:\u0022no-repeat\u0022,\u0022backgroundSizeMode\u0022:\u0022cover\u0022,\u0022backgroundSize\u0022:\u0022cover\u0022,\u0022backgroundWidth\u0022:\u0022100px\u0022,\u0022backgroundHeight\u0022:\u0022100px\u0022,\u0022backgroundUrl\u0022:\u0022url()\u0022,\u0022backgroundColor\u0022:\u0022rgba( 0, 0, 0, 0 )\u0022,\u0022fieldBorderRadius\u0022:\u00223px\u0022,\u0022fieldBorderStyle\u0022:\u0022solid\u0022,\u0022fieldBorderSize\u0022:\u00221px\u0022,\u0022fieldBackgroundColor\u0022:\u0022#ffffff\u0022,\u0022fieldBorderColor\u0022:\u0022rgba( 0, 0, 0, 0.25 )\u0022,\u0022fieldTextColor\u0022:\u0022rgba( 0, 0, 0, 0.7 )\u0022,\u0022fieldMenuColor\u0022:\u0022#ffffff\u0022,\u0022labelSize\u0022:\u0022medium\u0022,\u0022labelColor\u0022:\u0022rgba( 0, 0, 0, 0.85 )\u0022,\u0022labelSublabelColor\u0022:\u0022rgba( 0, 0, 0, 0.55 )\u0022,\u0022labelErrorColor\u0022:\u0022#d63637\u0022,\u0022buttonSize\u0022:\u0022medium\u0022,\u0022buttonBorderStyle\u0022:\u0022none\u0022,\u0022buttonBorderSize\u0022:\u00221px\u0022,\u0022buttonBorderRadius\u0022:\u00223px\u0022,\u0022buttonBackgroundColor\u0022:\u0022#066aab\u0022,\u0022buttonTextColor\u0022:\u0022#ffffff\u0022,\u0022buttonBorderColor\u0022:\u0022#066aab\u0022,\u0022pageBreakColor\u0022:\u0022#066aab\u0022,\u0022containerPadding\u0022:\u00220px\u0022,\u0022containerBorderStyle\u0022:\u0022none\u0022,\u0022containerBorderWidth\u0022:\u00221px\u0022,\u0022containerBorderColor\u0022:\u0022#000000\u0022,\u0022containerBorderRadius\u0022:\u00223px\u0022,\u0022containerShadowSize\u0022:\u0022none\u0022,\u0022customCss\u0022:\u0022\u0022}"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->