Krips
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: New post errorHello
- Plugin Conflict
Issue: A plugin might be causing a conflict, leading to the blank page.
Solution:
Deactivate all plugins via Dashboard > Plugins > Installed Plugins.If the issue is resolved, reactivate plugins one by one, checking the page after each activation to find the culprit.
- Theme Issues
Issue: Your active theme might be causing the issue.
Solution: Switch to the default Twenty Twenty theme (or any default theme) via Appearance > Themes and see if the problem persists.- Insufficient PHP Memory
Issue: Your site might be running out of memory.
Solution: Increase the PHP memory limit
Forum: Plugins
In reply to: [The Events Calendar] Search Event is not decoded in search barSorry, Now you will be able to access the links
Forum: Plugins
In reply to: [The Events Calendar] Search Event is not decoded in search barSorry for late reply,
For Message appears below search bar which need to decoded as well as in search bar
https://drive.google.com/file/d/1CWoHBWvZVDLT23pAWhQ6_UxCiUjd__Rz/view?usp=drive_link
https://drive.google.com/file/d/1vxhEyavXQGM_ouLjdbGN1OVWpXmvMg5h/view?usp=drive_linkForum: Plugins
In reply to: [The Events Calendar] Search Event is not decoded in search barFor Message response (https://prnt.sc/rdzBiJxjNI57) , you need to make modification in below file
FIle path : src/Tribe/Views/V2/Messages.phppublic static function for_key($key, ...$values) {
$map = [
'no_results_found' => __(
'There were no results found.',
'the-events-calendar'
),
'no_upcoming_events' => sprintf(
_x(
'There are no upcoming %1$s.',
'A message to indicate there are no upcoming events.',
'the-events-calendar'
),
tribe_get_event_label_plural_lowercase()
),
'month_no_results_found' => __(
'Test 4 There were no results found for this view.',
'the-events-calendar'
),
'no_results_found_w_keyword' => __(
'Test 1 There were no results found for <strong>"%1$s"</strong>.',
'the-events-calendar'
),
'month_no_results_found_w_keyword' => __(
'Test 2 There were no results found for <strong>"%1$s"</strong> this month.',
'the-events-calendar'
),
'day_no_results_found' => __(
'No %1$s scheduled for %2$s.',
'the-events-calendar'
),
'month_no_results_found_w_ff_link' => __(
'Test 3 There were no results found for this view. %1$s',
'the-events-calendar'
),
'day_no_results_found_w_ff_link' => __(
'No %1$s scheduled for %2$s. %3$s',
'the-events-calendar'
),
];
$map = apply_filters('tribe_events_views_v2_messages_map', $map);
$match = Arr::get($map, $key, $key);
if (empty($values)) {
return $match;
}
$need_events_label_keys = ['day_no_results_found', 'day_no_results_found_w_ff_link'];
$need_events_label_keys = apply_filters('tribe_events_views_v2_messages_need_events_label_keys', $need_events_label_keys);
if (in_array($key, $need_events_label_keys)) {
array_unshift($values, tribe_get_event_label_plural_lowercase());
}
// Decode URL-encoded values
$decoded_values = array_map('urldecode', $values);
return sprintf($match, ...$decoded_values);
}Thank you!
Forum: Plugins
In reply to: [The Events Calendar] Search Event is not decoded in search barCan you fix code here:
For Search bar https://prnt.sc/yc9J9p1S0nJr , value should be as below in file template :
src/views/v2/components/events-bar/search/keyword.phpvalue="<?php echo esc_attr( urldecode( tribe_events_template_var( [ 'bar', 'keyword' ], '' ) ) ); ?>"
/* translators: %s: events (plural). */
$placeholder = sprintf( __( 'Search for %s', 'the-events-calendar' ), tribe_get_event_label_plural_lowercase() );
/* translators: %s: events (plural). */
$aria_label = sprintf( __( 'Enter Keyword. Search for %s by Keyword.', 'the-events-calendar' ), tribe_get_event_label_plural_lowercase() );
?>
<div
class="tribe-common-form-control-text tribe-events-c-search__input-control tribe-events-c-search__input-control--keyword"
data-js="tribe-events-events-bar-input-control"
>
<label class="tribe-common-form-control-text__label" for="tribe-events-events-bar-keyword">
<?php printf( esc_html__( 'Enter Keyword. Search for %s by Keyword.', 'the-events-calendar' ), tribe_get_event_label_plural() ); ?>
</label>
<input
class="tribe-common-form-control-text__input tribe-events-c-search__input"
data-js="tribe-events-events-bar-input-control-input"
type="text"
id="tribe-events-events-bar-keyword"
name="tribe-events-views[tribe-bar-search]"
value="<?php echo esc_attr( urldecode( tribe_events_template_var( [ 'bar', 'keyword' ], '' ) ) ); ?>"
placeholder="<?php echo esc_attr( $placeholder ); ?>"
aria-label="<?php echo esc_attr( $aria_label ); ?>"
/>
<?php $this->template( 'components/icons/search', [ 'classes' => [ 'tribe-events-c-search__input-control-icon-svg' ] ] ); ?>
</div>Gotcha! Isn’t that confusing when it is disabled product with multiple variation added to the wish list without variation name,
I suggest there should be then one product in wish-list if option is disabled.
Anyways Thank you for your response, saved my time.Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Showing wrong Stock status in wishlistHello
Thank you for quick response, I am not using any other plugin to modify stocks, it’s just i was testing and found a bug
When I add any out of stock product into my wishlist , it shows status as in-stock in wishlist
https://prnt.sc/SUECjjzUCCd8
https://prnt.sc/CfN3PthXurzLForum: Plugins
In reply to: [Smart Appointment & Booking] Form Is not being savedAlso Time slot Is not being saved
I have shared updated working code
File : class.saab.admin.fieldmeta.php
line 964if (isset($_POST['generatetimeslot'])) { $generatetimeslots = $_POST['generatetimeslot']; // Sanitize and save the values $sanitized_generatetimeslots = array(); foreach ($generatetimeslots as $generatetimeslot) { $generatestart_time = $generatetimeslot['start_time']; $generateend_time = $generatetimeslot['end_time']; $sanitized_generatetimeslots[] = array( 'start_time' => $generatestart_time, 'end_time' => $generateend_time, ); } update_post_meta($post_id, 'saab_generatetimeslot', $sanitized_generatetimeslots); }else{ $generatetimeslots = get_post_meta($post_id, 'saab_generatetimeslot', true); if (empty($timeslots)) { $sanitized_generatetimeslots = array( array( 'start_time' => '', 'end_time' => '', ), ); } update_post_meta($post_id, 'saab_generatetimeslot', $sanitized_generatetimeslots); }
// Advance fields
LIne no 1000 same fileif (isset($_POST['advancedata'])) { $advancedata = $_POST['advancedata']; update_post_meta($post_id, 'saab_advancedata', $advancedata); }else { delete_post_meta($post_id, 'saab_advancedata'); }
// Booking stops after – line 892 replace with updated working code$booking_stops_after_duration = $_POST['booking_stops_after']; $sanitized_booking_stops_after_duration = array( 'hours' => sanitize_text_field( $booking_stops_after_duration['hours'] ), 'minutes' => sanitize_text_field( $booking_stops_after_duration['minutes'] ) ); // Update the post meta data with the field value update_post_meta( $post_id, 'saab_booking_stops_after', $sanitized_booking_stops_after_duration ); }
- Plugin Conflict