Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
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 4139These i saw them just few times:
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.
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?
Hi Arlind,
I also don't see them on pages, i can see it only in the error log in the root.
Regards
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.