that is a php Warning meant for developers not an error, it won't affect any functionality, although you probably want to disable WP_debug mode not to see those kind of notices.
Unfortunately I'm not into caching plugins as I only rely on a CDN service, although I've seen many buyers successfully using W3 Total Cache.
so i am not getting you .. i am having also the same issue after i updated to 1.72 .. I use w3 Total Cache.
they apopear in admin section
Warning: Attempt to modify property of non-object in /home/xxxxx/public_html/wp-content/themes/powermag/functions.php on line 385
the issue is for the following files
function filter_js_composer_updates( $value ) {
unset( $value->response['js_composer/js_composer.php'] ); // this is line 385
by the way : disable WP-debug : this is already disabled> and the warning came only after update
ok i figured out that you have to disable : object caching in w3total cache for this to disappear . hopefully this help some one and hopefully this conflict can be solved by you because many people as you said use w3total cache
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
It is barring me from basic operations, like searching for any new posts and many other things.
After the search it shows message like this.
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Cannot modify header information - headers already sent by (output started at /home/content/78/11562578/html/wp-content/themes/powermag/functions.php:275) in /home/content/78/11562578/html/wp-includes/pluggable.php on line 1121
It's a warning as the message starts with "Warning:" not "Error:" (which also exists.), that's all I meant.
Warnings are unlikely to affect functionalities, by the way as I suggested earlier, please comment out the mentioned part (from line 274 to 278 in functions.php) and the warning should disappear, this have been already fixed in an upcoming update.
Getting this error too frequently ?
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Also pls suggest best supported caching plugin.
yup, I am getting the same. Can not empty cache as it wont allow me to access that page. I use w3 Total Cache.
Hi there,
that is a php Warning meant for developers not an error, it won't affect any functionality, although you probably want to disable WP_debug mode not to see those kind of notices.
Unfortunately I'm not into caching plugins as I only rely on a CDN service, although I've seen many buyers successfully using W3 Total Cache.
Regards
djwd
Regards
djwd
so i am not getting you .. i am having also the same issue after i updated to 1.72 .. I use w3 Total Cache.
they apopear in admin section
Warning: Attempt to modify property of non-object in /home/xxxxx/public_html/wp-content/themes/powermag/functions.php on line 385
the issue is for the following files
function filter_js_composer_updates( $value ) {
unset( $value->response['js_composer/js_composer.php'] ); // this is line 385
return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_js_composer_updates' );
so how to disable this or solve this
by the way : disable WP-debug : this is already disabled> and the warning came only after update
ok i figured out that you have to disable : object caching in w3total cache for this to disappear .
hopefully this help some one and hopefully this conflict can be solved by you because many people as you said use w3total cache
Hi there,
you can temporary comment out that part of code posted.
Altough I insist that with WP_DEBUG set on false you shouldn't see any warning or notice, there must be some other setting overriding wp-config.php
By the way thanks for the update, it will definitely help me replicating the warning and debugging it.
Regards
djwd
Regards
djwd
Sir,
This is not just warning.
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
It is barring me from basic operations, like searching for any new posts and many other things.
After the search it shows message like this.
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Attempt to modify property of non-object in /home/content/78/11562578/html/wp-content/themes/powermag/functions.php on line 275
Warning: Cannot modify header information - headers already sent by (output started at /home/content/78/11562578/html/wp-content/themes/powermag/functions.php:275) in /home/content/78/11562578/html/wp-includes/pluggable.php on line 1121
Hi,
It's a warning as the message starts with "Warning:" not "Error:" (which also exists.), that's all I meant.
Warnings are unlikely to affect functionalities, by the way as I suggested earlier, please comment out the mentioned part (from line 274 to 278 in functions.php) and the warning should disappear, this have been already fixed in an upcoming update.
Hope this helps
djwd
Regards
djwd