diafol
Forum Replies Created
-
Forum: Plugins
In reply to: [Salon Booking System] Customer List warningBTW. Looking at the issue above, in the code it is with regard the sort order. When I select sort on email in the summary table, the warning disappears.
[MY_SITE]/wp-admin/admin.php?page=salon-customers&orderby=user_email&order=asc
Also, when I try to upload a logo under settings, it makes me load the image twice (on selecting an image, the dialog closes) and I get this message on successful upload:
Warning: Attempt to read property "cap" on null in?[MY_SITE]\p-content\plugins\salon-booking-system\src\SLN\UserRole\SalonStaff.php?on line?98
Warning: foreach() argument must be of type array|object, null given in?[MY_SITE]\wp-content\plugins\salon-booking-system\src\SLN\UserRole\SalonStaff.php?on line?98Is this something on my end or is it the plugin?
Forum: Plugins
In reply to: [Participants Database] xnau update errorsSame here. Have deactivated all xnau products. Will consider re-activating all but the plug-in.
E_COMPILE_ERROR was caused in line 78 of the file /home/xxxxxxxx/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php. Error message: require(): Failed opening required '/home/xxxxxxx/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/../yahnis-elsts/plugin-update-checker/load-v4p13.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear')
Ah, OK, I think I’ve cracked it. Just add the expected params to the content-no-cache.php file around line number 111:
$output .= 'req.open("POST","'.esc_js( admin_url( 'admin-ajax.php' ) ).'?action=eos_dyn_get_content",true);';
I got the $_GET params to propagate through to my shortcode code.
$output .= 'req.open("POST","'.esc_js( admin_url( 'admin-ajax.php' ) ).'?action=eos_dyn_get_content&date=' . $_GET['date'] . '&lang=' . $set_lang . '",true);';
Obviously there needs to be validation etc before blindly throwing in these vars, but it worked for me (date and language successfully passed on). If there’s an easier way…?
Ok, transferred all code to child theme functions.php and had exactly same result. Couple o images: