Title: txemaleon's Replies | WordPress.org

---

# txemaleon

  [  ](https://wordpress.org/support/users/txemaleon/)

 *   [Profile](https://wordpress.org/support/users/txemaleon/)
 *   [Topics Started](https://wordpress.org/support/users/txemaleon/topics/)
 *   [Replies Created](https://wordpress.org/support/users/txemaleon/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/txemaleon/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/txemaleon/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/txemaleon/engagements/)
 *   [Favorites](https://wordpress.org/support/users/txemaleon/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login With Ajax - Fast Logins, 2FA, Redirects] Not Compatible with Sensei](https://wordpress.org/support/topic/not-compatible-with-sensei/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [10 years ago](https://wordpress.org/support/topic/not-compatible-with-sensei/#post-6616195)
 * Hi.
 * First of all, sorry for using this thread, but the problem is exactly the same
   and since nobody checked this issue is the main thread you find on google.
 * The problem is as stated above, Login With Ajax displays “An error has ocurred”.
   This is the unknown error handler on the Javascript side, not the php class one.
 * The problem occurs when trying to log in with a user who is also a Sensei user.
   The data received by the ajax request is empty, but wp_signon is executed. At
   this point, LWA checks wether the received object is a WP_User or a WP_Error 
   in a strange way, comparing strtolower( get_class( $loginResult ) ) against lowercase
   strings of this class names.
 * Thinking about it now, it may be that signon returns a subclass of WP_User made
   by Sensei. with is_a or instanceof this would be ok, but with this string comparison
   is possible to get an error if WP_User is not strictly the class used for the
   user returned by signon.
 * Please check this. I cannot provide URL since it’s a client site.
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST API Meta Endpoints] Does this Work Without the WP REST API Plugin ?](https://wordpress.org/support/topic/does-this-work-without-the-wp-rest-api-plugin/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/does-this-work-without-the-wp-rest-api-plugin/#post-7046352)
 * It says ‘Companion’ so I wouldn’t bet it does.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[DK PDF - WordPress PDF Generator] Images Showing Up With Red Cross](https://wordpress.org/support/topic/images-showing-up-with-red-cross/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/images-showing-up-with-red-cross/#post-6675016)
 * Hey, tried this, error is the same, perfect in a dev server but not working in
   production, checked if allow_url_fopen was on (it was), checked if is a Firewall
   Issue (it’s not), changed to relative paths (doesn’t fix it), so no idea what’s
   going on here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Remove CPT UI from the Dashboard menu](https://wordpress.org/support/topic/remove-cpt-ui-from-the-dashboard-menu/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/remove-cpt-ui-from-the-dashboard-menu/#post-5514888)
 * It may be interesting to hide the menu for clients, for example.
 * You can achieve this by adding this code to your functions.php:
 *     ```
       function remove_cpt_menu() {
       	remove_menu_page( 'cpt_main_menu' );
       }
       add_action( 'admin_menu', 'remove_cpt_menu' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Buddypress Profile Tabs](https://wordpress.org/support/topic/buddypress-profile-tabs/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/buddypress-profile-tabs/#post-4365196)
 * Hello.
 * I found the solution to this problem:
 * You must download de DEVELOPMENT translations files from the DEVELOPMENT branch
   in:
    `https://translate.wordpress.org/projects/buddypress/`
 * You will find the link “Export” in the bottom left of the page, and you’ll get
   a .po for your language. You must open it with a gettext translations editor (
   I use “Poedit”) and translate the lines which corresponds to the tabs.
 * Once in there, you must save AND rename the files to buddypress-de_DE (or your
   language).
 * And save them in your FTP under /wp-content/language/plugins/.
 * After this, you should see everything translated.
 * This got me crazy and as it turns out, is a very simple solution when you know
   how translations for buddypress works.
 * Cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Buddypress Profile Tabs](https://wordpress.org/support/topic/buddypress-profile-tabs/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/buddypress-profile-tabs/#post-4365191)
 * Same problem here with Spanish lang.
 * PLEASE help. I’m getting crazy with this problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Insert location data with functions](https://wordpress.org/support/topic/insert-location-data-with-functions/)
 *  Thread Starter [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/insert-location-data-with-functions/#post-4487033)
 * Well, I found a patch solution, which is immediately after save_meta() downgrade
   the post to pending:
 *     ```
       $EM_Location->save();
       $EM_Location->save_meta();
       wp_update_post( array( 'ID' => $EM_Location->post_id, 'post_status' => 'pending' ) );
       ```
   
 * I find this to be the most elegant solution besides making the save in pending
   status. Not ideal though, if you can point me to something better, I’d thank 
   you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Insert location data with functions](https://wordpress.org/support/topic/insert-location-data-with-functions/)
 *  Thread Starter [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/insert-location-data-with-functions/#post-4487032)
 * And is there any easy way to do this? I’m trying to do
 *     ```
       $EM_Location->set_status(0);
       $EM_Location->save();
       $EM_Location->save_meta();
       ```
   
 * But this is not working, nor is $EM_Location->set_status(‘pending’);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Insert location data with functions](https://wordpress.org/support/topic/insert-location-data-with-functions/)
 *  Thread Starter [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/insert-location-data-with-functions/#post-4486937)
 * Hi, I wanted to put locations in the database using the Events Manager functions,
   tables, etc, so it will work with the plugin.
 * I’ve been able to do so with EM_Location->save() and EM_Location->save_meta(),
   and adding the post metadata with add_post_meta().
 * What I need to do now is to use EM_Location->save and leave the post as pending,
   not as published. EM_Location->post_status = ‘pending’ does not work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Submit Events/Locations through API](https://wordpress.org/support/topic/submit-eventslocations-through-api/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/submit-eventslocations-through-api/#post-3569555)
 * Is it possible to do this but to leave the posts as pending?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tiled Galleries Carousel Without Jetpack] Getting fatal error.](https://wordpress.org/support/topic/getting-fatal-error-3/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/getting-fatal-error-3/#post-4426089)
 * Hi.
 * Sorry if I didn’t make it clear: To avoid that message, you just have to select
   one type of gallery in the right column, and it will dissapear.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tiled Galleries Carousel Without Jetpack] Getting fatal error.](https://wordpress.org/support/topic/getting-fatal-error-3/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/getting-fatal-error-3/#post-4426085)
 * You can comment that line out, but it will dissapear if you select a gallery 
   type in the gallery editor (where you can define if you want circles, thumbnail
   grid, tiled mosaic, etc)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom Taxonomy doesn't works with Location Map](https://wordpress.org/support/topic/custom-taxonomy-doesnt-works-with-location-map/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-taxonomy-doesnt-works-with-location-map/#post-4360714)
 * Yes, but what you’re getting is a Notice, not an error. I know You must not supress
   errors to have an error free template, but defining WP_Debug to True, you’ll 
   always get that notice, because is for debug.
 * You’re welcome, btw.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Custom Taxonomy doesn't works with Location Map](https://wordpress.org/support/topic/custom-taxonomy-doesnt-works-with-location-map/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-taxonomy-doesnt-works-with-location-map/#post-4360689)
 * Put this in your wp-config.php:
 * `define('WP_DEBUG', false);`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Tiled Galleries Not Displaying](https://wordpress.org/support/topic/tiled-galleries-not-displaying/)
 *  [txemaleon](https://wordpress.org/support/users/txemaleon/)
 * (@txemaleon)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/tiled-galleries-not-displaying/page/2/#post-3348181)
 * So, what happened with this? I also use a theme from onedesigns (Pinboard) and
   have exactly the same issue, tiled mosaic selected but not properly working, 
   and I would like to know how to fix it.

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