Okay
  Public Ticket #1313841
Php Warnings
Closed

Comments

  •  3
    Pietro started the conversation

    Dear support,

    i'm finalizing the website to be published and i'm checking our php error log and found these php warnings. Could you please tell me why and how to solve them? 

    Thanks for the patience and have an awesome day.

    Warnings i'm seeing every day:

    [25-Sep-2017 09:31:23 UTC] PHP Notice:  Undefined variable: args in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/laborator_woocommerce.php on line 246
    [25-Sep-2017 10:02:56 UTC] PHP Notice:  post was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/oxygen/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_laborator_lookbook_carousel->content, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Pl in /home/ciaobike/public_html/wp-includes/functions.php on line 4139
    [25-Sep-2017 10:02:56 UTC] PHP Notice:  post was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/oxygen/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templ in /home/ciaobike/public_html/wp-includes/functions.php on line 4139

    These i saw them just few times:

    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_banner.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 34
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_banner.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 34
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_banner2.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 35
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_banner2.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 35
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_featuretab.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 36
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_featuretab.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 36
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_blog.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 37
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_blog.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 37
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_button.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 38
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_button.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 38
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_testimonials.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 39
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_testimonials.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 39
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_products.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 43
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_products.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 43
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_products_carousel.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 44
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_products_carousel.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 44
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_lookbook.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 45
    [25-Sep-2017 09:55:42 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_lookbook.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 45
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_banner.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 34
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_banner.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 34
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_banner2.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 35
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_banner2.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 35
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_featuretab.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 36
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_featuretab.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 36
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_blog.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 37
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_blog.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 37
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_button.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 38
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_button.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 38
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_testimonials.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 39
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_testimonials.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 39
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_products.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 43
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_products.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 43
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_products_carousel.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 44
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_products_carousel.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 44
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(/laborator-shortcodes/laborator_lookbook.php): failed to open stream: No such file or directory in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 45
    [25-Sep-2017 09:56:06 UTC] PHP Warning:  include_once(): Failed opening '/laborator-shortcodes/laborator_lookbook.php' for inclusion (include_path='phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-token-stream:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit-mock-objects:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/php-code-coverage:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/phpunit/phpunit:phar:///chroot/wp-cli/vendor/wp-cli/wp-cli/bin/wp-cli.phar/vendor/symfony/yaml:.:/usr/local/php71/pear') in /home/ciaobike/public_html/wp-content/themes/oxygen/inc/lib/visual-composer/config.php on line 45
  • [deleted] replied

    Hi Pietro,

    To remove the first error you should replace one file:

    Download this file and replace it in this directory (of the theme): /oxygen/inc

    The two errors below that [25-Sep-2017 10:02:56 UTC] PHP Notice: post was called...are generated from Visual Composer. 

    I can take a look for you, just tell how to see these notices and I need FTP login to check which file is responsible for this error.

  •   Pietro replied privately
  • [deleted] replied

    Hi Pietro.

    Thanks for providing the login information. I have checked the pages to see the errors like this:

    [25-Sep-2017 10:02:56 UTC] PHP Notice:  post was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/oxygen/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_laborator_lookbook_carousel->content, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Pl in /home/ciaobike/public_html/wp-includes/functions.php on line 4139
    [25-Sep-2017 10:02:56 UTC] PHP Notice: post was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/oxygen/page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_row.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templates/shortcodes/vc_column.php'), wpb_js_remove_wpautop, do_shortcode, preg_replace_callback, do_shortcode_tag, vc_do_shortcode, WPBakeryShortCode->output, WPBakeryShortCode_VC_Row->content, WPBakeryShortCode->loadTemplate, include('/plugins/js_composer/include/templ in /home/ciaobike/public_html/wp-includes/functions.php on line 4139

    But I was not able to see these errors, can you tell me on which page I can see this?

  •  3
    Pietro replied

    Hi Arlind,

    I also don't see them on pages, i can see it only in the error log in the root.

    Regards

  • [deleted] replied

    Hi Pietro,

    Its quite hard for me to find the issue! However it is not a big issue because it is just a PHP notice.