Title: Uncaught Error
Last modified: May 22, 2021

---

# Uncaught Error

 *  Resolved [trapsen](https://wordpress.org/support/users/trapsen/)
 * (@trapsen)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/)
 * Hello,
 * I created some CSS files with your plugin for BuddyPress and now I wanted to 
   assign them to the pages using the conditional tags. However, now i have a problem:/
 * Can somebody help me with it?
 * ERROR:
    Uncaught Error: Call to undefined function bp_is_profile_edit() in /www/
   htdocs/w013b6eb/hosted/paintcom/wp-content/plugins/custom-css-js-pro/includes/
   class-show-codes.php(58) : eval()’d code:1 Stack trace: #0 /www/htdocs/w013b6eb/
   hosted/paintcom/wp-content/plugins/custom-css-js-pro/includes/class-show-codes.
   php(58): eval() #1 /www/htdocs/w013b6eb/hosted/paintcom/wp-content/plugins/custom-
   css-js-pro/custom-css-js.php(144): CustomCSSandJS_ShowCodesPro->wp_conditional_tags(
   Array, Array) #2 /www/htdocs/w013b6eb/hosted/paintcom/wp-includes/class-wp-hook.
   php(292): CustomCSSandJSpro->initiate_show_codes(”) #3 /www/htdocs/w013b6eb/hosted/
   paintcom/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)#
   4 /www/htdocs/w013b6eb/hosted/paintcom/wp-includes/plugin.php(484): WP_Hook->
   do_action(Array) #5 /www/htdocs/w013b6eb/hosted/paintcom/wp-settings.php(560):
   do_action(‘init’) #6 /www/htdocs/w013b6eb/hosted/paintcom/wp-config.php(105):
   require_once(‘/www/htdocs/w01…’) #7 /www/htdocs/w013b6eb/hosted/pai
 * the next question is:
    how can i reset the plugin? when i delete the plugin-folder
   its not enough. when i upload it again i get the same error
 * best regards
    -  This topic was modified 5 years ago by [trapsen](https://wordpress.org/support/users/trapsen/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/#post-14469936)
 * Hello,
 * the “bp_is_profile_edit()” function was deprecated in the BuddyPress plugin since
   1.5.0 version.
 * If you add the following line to the /wp-config.php file, then the conditional
   tags added with the Simple Custom CSS & JS plugin will not run:
 * `define( 'CCJ_WP_CONDITIONALS', false );`
 * After that you can delete wp conditional tag rule with the “bp_is_profile_edit()”
   function from the custom CSS.
 *  Thread Starter [trapsen](https://wordpress.org/support/users/trapsen/)
 * (@trapsen)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/#post-14470059)
 * Hello,
 * Thanks, that worked.
 * Is there an overview of the current conditional tags from buddypress somewhere?
 * Best wishes
 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/#post-14470089)
 * I didn’t find an updated overview of the buddypress conditional tags. [This one](https://codex.buddypress.org/developer/template-tag-reference/)
   seems to be the most comprehensive, but it was published 12 years ago and updated
   3 years ago.
 * But if you look directly through the BuddyPress PHP files, then you’ll find that
   the “bp_is_profile_edit()” function shows up only in the “/bp-core/deprecated/
   1.5.php” file. The reason for the deprecation is that in version 1.5.0 “some 
   _is_ function had their names normalized”. Instead you can use the “bp_is_user_profile_edit()”
   function.
 * If you run a search for “function bp_is_” through all the BuddyPress PHP files,
   then you can find all the conditional tags. For BuddyPress v7.3.0 I got the following
   list of conditional tags:
 *     ```
       bp_is_email_customizer() {
       bp_is_running_wp( $version, $compare = '>=' ) {
       bp_is_username_compatibility_mode() {
       bp_is_root_blog( $blog_id = 0 ) {
       bp_is_multiblog_mode() {
       bp_is_network_activated() {
       bp_is_post_request() {
       bp_is_get_request() {
       bp_is_large_install() {
       bp_is_akismet_active( $default = true ) {
       bp_is_activity_heartbeat_active( $default = true ) {
       bp_is_template_included() {
       bp_is_current_component( $component = '' ) {
       bp_is_current_action( $action = '' ) {
       bp_is_action_variable( $action_variable = '', $position = false ) {
       bp_is_current_item( $item = '' ) {
       bp_is_single_item() {
       bp_is_item_admin() {
       bp_is_item_mod() {
       bp_is_directory() {
       bp_is_root_component( $component_name = '' ) {
       bp_is_component_front_page( $component = '' ) {
       bp_is_blog_page() {
       bp_is_active( $component = '', $feature = '' ) {
       bp_is_members_component() {
       bp_is_profile_component() {
       bp_is_activity_component() {
       bp_is_blogs_component() {
       bp_is_messages_component() {
       bp_is_friends_component() {
       bp_is_groups_component() {
       bp_is_forums_component() {
       bp_is_notifications_component() {
       bp_is_settings_component() {
       bp_is_current_component_core() {
       bp_is_activity_directory() {
       bp_is_single_activity() {
       bp_is_members_directory() {
       bp_is_my_profile() {
       bp_is_user() {
       bp_is_user_front() {
       bp_is_user_activity() {
       bp_is_user_friends_activity() {
       bp_is_user_groups_activity() {
       bp_is_user_profile() {
       bp_is_user_profile_edit() {
       bp_is_user_change_avatar() {
       bp_is_user_change_cover_image() {
       bp_is_user_groups() {
       bp_is_user_blogs() {
       bp_is_user_recent_posts() {
       bp_is_user_recent_commments() {
       bp_is_user_friends() {
       bp_is_user_friend_requests() {
       bp_is_user_notifications() {
       bp_is_user_settings() {
       bp_is_user_settings_general() {
       bp_is_user_settings_notifications() {
       bp_is_user_settings_account_delete() {
       bp_is_user_settings_profile() {
       bp_is_groups_directory() {
       bp_is_group() {
       bp_is_group_home() {
       bp_is_group_create() {
       bp_is_group_admin_page() {
       bp_is_group_activity() {
       bp_is_group_forum_topic() {
       bp_is_group_forum_topic_edit() {
       bp_is_group_members() {
       bp_is_group_invites() {
       bp_is_group_membership_request() {
       bp_is_group_leave() {
       bp_is_group_single() {
       bp_is_group_custom_front() {
       bp_is_create_blog() {
       bp_is_blogs_directory() {
       bp_is_user_messages() {
       bp_is_messages_inbox() {
       bp_is_messages_sentbox() {
       bp_is_messages_compose_screen() {
       bp_is_notices() {
       bp_is_messages_conversation() {
       bp_is_single( $component, $callback ) {
       bp_is_activation_page() {
       bp_is_register_page() {
       bp_is_theme_compat_active() {
       bp_is_theme_compat_original_template( $template = '' ) {
       bp_is_install() {
       bp_is_update() {
       bp_is_activation( $basename = '' ) {
       bp_is_deactivation( $basename = '' ) {
       bp_is_friend( $user_id = 0 ) {
       bp_is_group_creator( $group = null, $user_id = 0 ) {
       bp_is_group_creation_step( $step_slug ) {
       bp_is_group_creation_step_complete( $step_slugs ) {
       bp_is_last_group_creation_step( $step = '' ) {
       bp_is_first_group_creation_step( $step = '' ) {
       bp_is_group_admin_screen( $slug = '' ) {
       bp_is_user_spammer( $user_id = 0 ) {
       bp_is_user_deleted( $user_id = 0 ) {
       bp_is_user_active( $user_id = 0 ) {
       bp_is_user_inactive( $user_id = 0 ) {
       ```
   
    -  This reply was modified 5 years ago by [SilkyPress](https://wordpress.org/support/users/diana_burduja/).
    -  This reply was modified 5 years ago by [SilkyPress](https://wordpress.org/support/users/diana_burduja/).
 *  Thread Starter [trapsen](https://wordpress.org/support/users/trapsen/)
 * (@trapsen)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/#post-14470129)
 * Hey
 * Thank you for your research 🙂
    -  This reply was modified 5 years ago by [trapsen](https://wordpress.org/support/users/trapsen/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [trapsen](https://wordpress.org/support/users/trapsen/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/uncaught-error-28/#post-14470129)
 * Status: resolved