Tagged: x
-
AuthorPosts
-
November 2, 2016 at 12:59 pm #1241183
MatrixFourParticipantHi Guys,
I get this error when turning debugging on…do you know what could be the cause?
Notice: Trying to get property of non-object in /public_html/wp-content/plugins/cornerstone/includes/elements/_alternate/recent-posts.php on line 24
Any help would be greatly appreciated.
November 2, 2016 at 3:52 pm #1241405
JadeModeratorHI there,
That is just a notice/warning and should not affect your site. Kindly disable your debug function as it should only be enabled in the development of a site so you can keep track of the error messages.
Thank you.
November 3, 2016 at 8:52 am #1242340
MatrixFourParticipantI think it may be affecting my site as when debugging is disabled, I get a long running script error in internet explorer 11. When debugging enabled, the page loads normally.
What could I do /check to see what is causing the problem?
November 3, 2016 at 9:02 am #1242349
MatrixFourParticipantWe are also getting this error on the front end. We really need to get this sorted out as the we were planning to work on the site today.
November 3, 2016 at 9:04 am #1242356
MatrixFourParticipantHere is the error message
Notice: Trying to get property of non-object in /public_html/wp-content/themes/x/framework/functions/global/classes.php on line 424 Notice: Trying to get property of non-object in /public_html/wp-content/themes/x/framework/functions/global/classes.php on line 424 class="post-98 page type-page status-publish hentry no-post-thumbnail x-portfolio-d41d8cd98f00b204e9800998ecf8427e">November 3, 2016 at 9:24 am #1242379
DarshanaModeratorHi there,
Couple of things to check first. Check your PHP version and make sure that you’re running at least PHP 5.6.0 or above to avoid any incompatibility issues as WordPress recommends it. You can contact your hosting provider and ask them to update if needed.
Also check your current Cornerstone version and make sure that you’re fully updated. You can check the latest version numbers here (https://community.theme.co/kb/version-compatibility/).
Let us know how it goes.
Thanks!November 3, 2016 at 10:34 am #1242527
MatrixFourParticipantPhp version is 5.6.5 and we are using the most recent version of cornerstone.
It shows something with the TinyMCE plugin. But I have not modified or edited it.
November 3, 2016 at 10:37 am #1242533
MatrixFourParticipantI actually had the portfolio post type deactivate so I think that is where the one problem was coming from. I removed the follow code from my functions file and those debug messages dissappear.
add_action( 'after_setup_theme','remove_portfolio_cpt', 100 ); function remove_portfolio_cpt() { remove_action( 'init', 'x_portfolio_init'); }As for the long running script, it looks like this is still happening on IE11. Really stumped here.. do you know why wp-tinymce could be causing a problem?
November 3, 2016 at 5:18 pm #1242984
RadModeratorHi there,
Debugging is just for error reporting, it doesn’t have any connection to functionality especially browser issues since it runs on the server (PHP). What’s running on a browser are just HTML, CSS, Javascript, and all other related browser technologies.
I’d like to check what’s going on, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1241183 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
