• Resolved Richard Thorne

    (@richthorne)


    Hi
    Wordfence scan reports no issues found but displays this error in the log file.

    [Jun 17 10:05:21:1592384721.524471:1:error] <br /> <b>Notice</b>: Undefined property: Vc_Updater::$title in <b>/home/glastonburyradio/public_html/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php</b> on line <b>128</b><br /> <br /> <b>Warning</b>: Creating default object from empty value in <b>/home/glastonburyradio/public_html/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php</b> on line <b>128</b><br /> <br /> <b>Notice</b>: Undefined property: stdClass::$sections in <b>/home/glastonburyradio/public_html/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php</b> on line <b>129</b><br /> <br /> <b>Notice</b>: Undefined index: changelog in <b>/home/glastonburyradio/public_html/wp-content/plugins/js_composer/include/classes/updaters/class-vc-updating-manager.php</b> on line <b>130</b><br /> 0

    I checked the file in question and the code looks normal from what I can tell (I don’t code php) can you tell me what the issue is and how to rectify it, please.

    Thank you.

    Richard

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi Richard,

    The PHP notice error is visible in the scan activity log because the scanner subscribes to all PHP errors.

    It’s likely that the js-composer plugin is using one of the filters in the WordPress plugins API and returning a bad or unexpected value. It’s most likely the js-composer plugin is part of a bundle with another plugin for additional functionality that isn’t in the www.ads-software.com repository that tries to manage its own updates. The warning probably won’t hurt anything in the scan, but the plugin causing it may not be working or updating properly.

    This may be related to the WPBakery Page Builder plugin. If you are using that then they may have bundled the js-composer plugin with their plugin and you can ask them for assistance.

    Thread Starter Richard Thorne

    (@richthorne)

    Thanks for your reply.
    The site uses WPbakery Page Builder, I’ll get in touch with their support see what they say.

    Richard

    Plugin Support wfphil

    (@wfphil)

    Hi Richard,

    Thank you for the update.

    Please let me know what they say.

    Thanks to reply to me, I will contact wp Backery composer, and hope to sort these issues, thank you very much

    I”m having the same issue. Did anyone find a solution?

    I have same issue in wpBakery composer plugin.
    I am this plugin deactivate and after active plugin so solve this issue.

    Please let us know if you found the solution to the error. I have the same issue with WP Bakery Plugin. Does it affect anything in the site?

    auxjoel

    (@auxjoel)

    Hi I am getting this error too,
    any respsonse from WpBakery/solutions? / tips on what files to edit,etc. to stop this?

    Thread Starter Richard Thorne

    (@richthorne)

    I didn’t get round to contacting WPBakery but after upgrading to WordPress 5.5 I installed the jquery migrate plugin and Wordfence isn’t throwing up any errors now.

    https://en-gb.www.ads-software.com/plugins/enable-jquery-migrate-helper/

    ziegel

    (@ziegel)

    Hi @wfphil ,

    I also got this erver error message. Possibly it’s cause this plugin is distributed directly from plugin developer’s website and not from www.ads-software.com, thus not allowing WordFence to compare installed files content to a published repository on www.ads-software.com.

    Could that be so?

    ziegel

    (@ziegel)

    WPBakery acknowledged the issue: “we have noted down this issue and added onto our list, so that it can be checked in near future to enhance the compatibility with WordFence plugin.”

    Just tried migrating my fully updated WordPress 5.7 on PHP 8.0.3 and am getting the following error:

    [Sun Mar 28 00:50:19.283603 2021] [proxy_fcgi:error] [pid 101803] [client XXX.XXX.XXX.XXX:63891] AH01071: Got error 'PHP message: PHP Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /var/www/domain/uat/htdocs/wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 644'

    Fixed it by changing the line 644:

    $host = isset( $s['HTTP_X_FORWARDED_HOST'] ) ? $s['HTTP_X_FORWARDED_HOST'] : isset( $s['HTTP_HOST'] ) ? $s['HTTP_HOST'] : $s['SERVER_NAME'];

    TO

    $host = isset( $s['HTTP_X_FORWARDED_HOST'] ) ? $s['HTTP_X_FORWARDED_HOST'] : ( isset( $s['HTTP_HOST'] ) ? $s['HTTP_HOST'] : $s['SERVER_NAME'] );

    However, still working on:

    PHP message: PHP Fatal error: Uncaught Error: Call to undefined function each() in /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:186\nStack trace:\n#0 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(770): Vc_Mapper->callElementActivities()\n#1 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(367): WPBMap::setElementSettings()\n#2 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(1428): WPBMap::getShortCode()\n#3 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1304): Vc_Shortcodes_Manager->getElementClass()\n#4 /var/www/domain.ext/uat/htdocs/wp-includes/shortcodes.php(343): vc_do_shortcode()\n#5 [internal function]: do_shortcode_tag()\n#6 /var/www/domain.ext/uat/htdocs/wp-includes/shortcodes.php(218): preg_replace_cal...', referer: https://uat.domain.ext/kancelaria-prawna-wroclaw/

    • This reply was modified 3 years, 8 months ago by davss.
    • This reply was modified 3 years, 8 months ago by davss.
    • This reply was modified 3 years, 8 months ago by davss.
    • This reply was modified 3 years, 8 months ago by davss.

    Me too. Can’t get any support from theme developer because it’s a plugin error and I need to contact them but the app developer (Wp Bakery) won’t provide support because I don’t have a direct license because the plugin came with the theme.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘js_composer error’ is closed to new replies.