Function wpforms()->pro error
-
Since upgrading to WPForms Lite (from version 1.8.2.1 to 1.8.2.2), we getting the following error:
Deprecated: Function wpforms()->pro was called with an argument that is deprecated since version 1.8.2.2 of the WPForms plugin! Please use
wpforms()->is_pro()instead in /home2/prologi6/public_html/wp-includes/functions.php on line 5697There is no call to wpforms()->pro at line 5697 in functions.php. In fact, there is no call to any wpforms() functions in functions.php.
Any help identifying where the call is made from would be most appreciated.
Thanks!
-
Some more info…
WordPress version 6.2.2
PHP version 7.3
Deactivating, deleting and reinstalling 1.8.2.2 did not fix the error. Downgrading to 1.8.2.1 fixed the error.
This message has no impact on functionality. It is just informational. You can use 1.8.2.2 without any doubt.
Not just an innocuous warning. The error shows up on most pages of our site and also causes the shopping cart to hang. No such issues with 1.8.2.1.
This is because you have
WP_DEBUG_DISPLAYset totrue, which is intended to use on staging and test sites only. Please define it inwp-config.phpasdefine( 'WP_DEBUG_DISPLAY', false );and you won’t see this message on pages.
To help us understand why it happens, could you provide the list of WPForms addons which are active on your site? Thank you.
Ah, good suggestion. Thank you!
No addons. One form using the ‘Simple Contact Form’ template on our Contact Us page. Google invisible captcha v2 and email verification enabled.
Could you provide a link to your Contact Us page?
Could you provide system information from the
/wp-admin/admin.php?page=wpforms-tools&view=systempage?Begin System Info -- WPForms Info Lite: Oct 4, 2020 @ 11:34am
Lite Connect: Backup is not enabled -- Site Info Site URL: https://prologix.biz
Home URL: https://prologix.biz
Multisite: No -- WordPress Configuration Version: 6.2.2
Language: en_US
User Language: en_US
Permalink Structure: /%postname%/
Active Theme: Sinatra 1.2.1
Show On Front: page
Page On Front: Home (#26)
Page For Posts: Unset
ABSPATH: /home2/prologi6/public_html/
Table Prefix: Length: 4 Status: Acceptable
WP_DEBUG: Enabled
WPFORMS_DEBUG: Not set
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, wc-checkout-draft
Revisions: Limited to 5 -- WordPress Uploads/Constants WP_CONTENT_DIR: /home2/prologi6/public_html/wp-content
WP_CONTENT_URL: https://prologix.biz/wp-content
UPLOADS: Not set
wp_uploads_dir() path: /home2/prologi6/public_html/wp-content/uploads/2023/06
wp_uploads_dir() url: https://prologix.biz/wp-content/uploads/2023/06
wp_uploads_dir() basedir: /home2/prologi6/public_html/wp-content/uploads
wp_uploads_dir() baseurl: https://prologix.biz/wp-content/uploads -- Must-Use Plugins Endurance Page Cache: 2.2
SSO: 0.4 -- WordPress Active Plugins Advanced Order Export For WooCommerce: 3.4.0
Advanced Shipment Tracking for WooCommerce: 3.5.3
Code Snippets: 3.4.1
Jetpack: 12.2.1
MonsterInsights - Dimensions Addon: 2.0.8
MonsterInsights - eCommerce Addon: 8.4.0
MonsterInsights - Forms Tracking Addon: 2.2.7
MonsterInsights - Page Insights Addon: 1.5.4
MonsterInsights Pro: 8.17
Sequential Order Numbers for WooCommerce Pro: 1.0.4
The Bluehost Plugin: 3.0.4
UpdraftPlus - Backup/Restore: 1.23.6
WooCommerce: 7.8.1
WooCommerce Elavon Converge Gateway: 2.12.1
WooCommerce PayPal Payments: 2.1.0
WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: 4.1.0
WooCommerce Shortcodes: 1.0.0
Woo Discount Rules: 2.6.0
WPForms Lite: 1.8.2.1 (needs update - 1.8.2.2)
WP Mail SMTP: 3.8.0
WP Rollback: 1.7.3
Yoast SEO: 20.10
Yoast SEO: WooCommerce: 15.7
Yoast SEO Premium: 20.10 -- WordPress Inactive Plugins Invoices for WooCommerce: 3.1.9
Orders Tracking for WooCommerce: 1.2.4
PDF Invoices & Packing Slips for WooCommerce: 3.5.6
WooCommerce PDF Invoice Builder: 1.2.82
WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: 4.0.10
YITH WooCommerce Order & Shipment Tracking: 2.15.0 -- Webserver Configuration PHP Version: 7.4.33
MySQL Version: 5.7.23
Webserver Info: Apache -- PHP Configuration Memory Limit: 256M
Upload Max Size: 256M
Post Max Size: 260M
Upload Max Filesize: 256M
Time Limit: 30
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 InfoThank you for providing the information. I have checked the code of several active plugins on your site and did not find the code pattern which could cause this issue. It definitely does not come from the WPForms plugin, as we removed such code patterns from our plugin.
Could you help me to identify the culprit and deactivate plugins one by one, starting from Code Snippets and MonsterInsights? After deactivation, please check debug.log for the absence of new messages. Thank you.
‘MonsterInsights – Forms Tracking Addon’ plugin seems to be the culprit. Disabling it makes the error/warning go away.
https://www.monsterinsights.com/addon/forms/
Any advice on how to fix it?
Thank you very much for your help.
I will connect to MonsterInsights team and ask them to make a fix in the next release.
MonsterInsights team promised to update the addon in days.
Thank you! Appreciate it.
Will report when fixed.
Hi @prologix,
As MonsterInsights will fix this issue, I’m going to go ahead and close this thread for now. But we will really appreciate it if you can report when the issue is fixed.
And if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
The topic ‘Function wpforms()->pro error’ is closed to new replies.