Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter diafol

    (@diafol)

    BTW. 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?98

    Is this something on my end or is it the plugin?

    Same 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')
    Thread Starter diafol

    (@diafol)

    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…?

    Thread Starter diafol

    (@diafol)

    Ok, transferred all code to child theme functions.php and had exactly same result. Couple o images:

    https://pasteboard.co/WKHGc8bIFdNu.png

    https://pasteboard.co/pd18BHPYJl3x.png

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