Tagged: x
-
AuthorPosts
-
April 13, 2016 at 6:49 pm #881116
Danielle SParticipantHi,
I installed WPML yesterday and am getting the following error on some of the pages:Warning: Missing argument 2 for Cornerstone_Integration_Conflict_Resolution::wpml_title() in /wp-content/plugins/cornerstone/includes/integrations/conflict-resolution.php on line 120
I deactivated all the plugins except for those that came with X and the WPML plugins. I still go the same error, so I reactivated them.
Are you able to help?
Thanks
Danielle
April 13, 2016 at 6:55 pm #881120
Danielle SParticipantThis reply has been marked as private.April 14, 2016 at 1:40 am #881581
Rue NelModeratorHello Danielle,
This message:
"Warning: Missing argument 2 for Cornerstone_Integration_Conflict_Resolution::wpml_title()..."is just a PHP warning message. It can be than WPML variable has been been initialized on this page. There is nothing to worry about this. Can you please disable WP_DEBUG mode? You can do this by opening
wp-config.phpand adding
define( 'WP_DEBUG' , false );just above/* That's all, stop editing! Happy blogging. */For example:define('WP_DEBUG', false); /* That's all, stop editing! Happy blogging. */When you revisit the page, you should no longer be seeing this message. For the meantime, X 4.4.2 is now available in automatic updates! This release contains several bug fixes and a maintenance release in response to WordPress 4.5, so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
Please let us know how it goes.
April 14, 2016 at 3:46 am #881776
Danielle SParticipantHi,
This didn’t work because the debug mode was already disabled and set to false. Any other thoughts? I have also updated X to 4.4.2thanks
Danielle
April 14, 2016 at 8:44 am #882237
JackKeymasterHi there Danielle,
Thanks for writing back.
Replace WP_DEBUG with the following:
ini_set('log_errors','On'); ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);That should stop the warning from displaying on the front-end of your site. 🙂
Thanks!
April 14, 2016 at 6:55 pm #883292
Danielle SParticipantYep – that worked. Thanks very much! How great are you guys – I just love your support.
Cheers
Danielle
April 14, 2016 at 11:52 pm #883629
Prasant RaiModeratorYour satisfaction is a great compliment for us.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-881116 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
