Home › Forums › Legacy Support › Support queries › Other issues › PHP ERROR
Tagged: bp-course-api, NAMESPACE, php
- This topic has 3 replies, 3 voices, and was last updated 5 years, 11 months ago by Anshuman Sahu.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
December 6, 2018 at 5:36 am #187620nataliemia_862SpectatorHello, thank you for your great template! My website : https://cifran.org My site is extremely slow and <span class="tlid-translation translation"><span class="" title="">displays the PHP error message "Constant BP_COURSE_API_NAMESPACE already defined" - location: wp-content / plugins / vibe-course-module / includes / bp-course-api.php: 7</span></span> Thank you for your help, NatalieDecember 7, 2018 at 1:55 pm #187942Anshuman SahuKeymasterWell this is just a php notice not a fatal error or warning . Please turn off the wp_debug : https://codex.wordpress.org/WP_DEBUG For site speed : please make sure that envato market plugin is deactivated in your setup . if not then please deactivate it .It is having some issues with current version of wordpress . refer this tip to deactivate it : https://www.ostraining.com/blog/wordpress/disable-a-wordpress-plugin/ Second step is to install this plugin "query monitor" refer this tip to know which plugin is actually putting load on your server : https://kinsta.com/blog/query-monitor/ Using caching techniques like memcached, opcache on server side might improve some speed . Also try switching to php version 7.0 (not 7.1 ,its unstable and is not compatible with theme ) . Also follow this caching tip : https://vibethemes.com/documentation/wplms/knowledge-base/wplms-with-w3-total-cache/ Deactivate plugins that you dont feel necessary Please also try disabling touch points if you have enabled them from wp-admin -> lms -> setitngs -> touch points . Also use the jectpack plugin for Free image CDN .December 17, 2018 at 2:27 pm #189313soulshakepowerSpectatorHi Alex, I have the same issue with a warning (WPLMS 3.8 - WP & all plugins to date): Notice: Constant BP_COURSE_API_NAMESPACE already defined in /dev2/wp-content/plugins/vibe-course-module/includes/bp-course-api.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at /dev2/wp-content/plugins/vibe-course-module/includes/bp-course-api.php:7) in /home/harpscho/public_html/martin-lafond/sites/dev2/wp-admin/includes/misc.php on line 1144; These are the only notice/warnings I get in wp-debug, and as I am debugging other plugins I want to have a clean slate :) Any insights on what can cause this? If needed, staging info & creds in this post. Thank youDecember 18, 2018 at 2:42 pm #189488Anshuman SahuKeymasterThis is fixed at your end please check .
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘PHP ERROR’ is closed to new replies.