Forum Replies Created

Viewing 15 replies - 1 through 15 (of 87 total)
  • Thread Starter kyledoesit

    (@kyledoesit)

    This is perfect, thank you! I managed to add a shortcode to wordpress using a plugin called Code Snippets by Code Snippets Pro as I didn’t want to have to make a child theme and set up the code through the functions file.

    For anyone who needs something like this, I found it here – https://wordpress.stackexchange.com/questions/416704/how-do-i-create-a-shortcode-that-returns-a-logged-in-users-email

    function current_user_email_address() {
        if ( ! is_user_logged_in() ) {
            return '';
        }
    
        $user = wp_get_current_user();
    
        if ( empty( $user->user_email ) ) {
            return '';
        }
    
        return esc_html( $user->user_email );
    }
    add_shortcode( 'current_user_email_address', 'current_user_email_address' );

    and this is the shortcode for the page to display it on

    [kaya_qrcode_dynamic][current_user_email_address][/kaya_qrcode_dynamic]
    Thread Starter kyledoesit

    (@kyledoesit)

    I figured out the issue, I was using the slug instead of the ID number and it appears to be working properly now. Thank you again!

    Thread Starter kyledoesit

    (@kyledoesit)

    Thank you for your reply I’ll do that now!

    Thread Starter kyledoesit

    (@kyledoesit)

    Thank you for responding, I have a workaround that I can use temporarily but if support for ACF groups is added that would be very helpful!

    Thread Starter kyledoesit

    (@kyledoesit)

    I think I misunderstood, after moving the line of code you gave me right under the line with val(x) it appears to be working. Thank you!!

    Thread Starter kyledoesit

    (@kyledoesit)

    Thank you for such a fast reply! I tried adding that here but no luck yet.

      jQuery(".dataTables_filter input").val(x);
      jQuery(".dataTables_filter input").focus();
      jQuery(".dataTables_filter input").trigger("keypress").val(function(i,val){return val + ' ';
      jQuery(".dataTables_filter input").trigger("input");});
    kyledoesit

    (@kyledoesit)

    Well dang, I hope they fix that in the next update. This is the one recommended but the theme I am using.

    kyledoesit

    (@kyledoesit)

    Fatal error: Uncaught Error: Class 'WPGDPRC\WordPress\RequestDelete' not found in /wp-content/plugins/wp-gdpr-compliance/WordPress/Plugin.php:92 Stack trace: #0 /wp-content/plugins/wp-gdpr-compliance/WordPress/Plugin.php(59): WPGDPRC\WordPress\Plugin::initializeTables() #1 /wp-includes/class-wp-hook.php(303): WPGDPRC\WordPress\Plugin::activate('') #2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /wp-admin/plugins.php(193): do_action('activate_wp-gdp...') #5 {main} thrown in /wp-content/plugins/wp-gdpr-compliance/WordPress/Plugin.php on line 92

    WP version 5.8.2
    Theme Blabber v 1.8.1
    php 7.4.25 (Supports 64bit values)
    PHP SAPI cgi-fcgi
    PHP max input variables 10000
    PHP time limit 300
    PHP memory limit 1024M
    Max input time 60
    Upload max filesize 512M
    PHP post max size 1000M

    AdRotate Version 5.8.21 by Arnan de Gans | Auto-updates enabled
    Contact Form 7 Version 5.5.2 by Takayuki Miyoshi | Auto-updates enabled
    CyberSEO Lite Version 6.31 by CyberSEO.net | Auto-updates enabled
    Elementor Version 3.4.8 by Elementor.com | Auto-updates enabled
    EWWW Image Optimizer Version 6.3.0 by Exactly WWW | Auto-updates enabled
    Google Analytics Version 8.2.0 by MonsterInsights | Auto-updates enabled
    MC4WP Version 4.8.6 by ibericode | Auto-updates enabled
    Podcast Feed Player Version 2.2.0 by Douglas Karr | Auto-updates enabled
    Site Kit by Google Version 1.45.0 by Google | Auto-updates enabled
    Smash Balloon Instagram Feed Version 2.9.6 by Smash Balloon | Auto-updates enabled
    ThemeREX Addons Version 1.6.61.4.5 by ThemeREX | Auto-updates enabled
    ThemeREX Updater Version 1.9.5 by ThemeREX | Auto-updates enabled
    UpdraftPlus Version 2.16.62.25 by UpdraftPlus.Com, DavidAnderson (Latest version: 2.16.63.0) | Auto-updates enabled
    WP-Appbox Version 4.3.15 by Marcel Schmilgeit | Auto-updates enabled
    WP File Manager Version 7.1.2 by mndpsingh287 | Auto-updates enabled
    WP Rocket Version 3.10 by WP Media | Auto-updates disabled`

    • This reply was modified 3 years ago by kyledoesit.
    • This reply was modified 3 years ago by James Huff.
    kyledoesit

    (@kyledoesit)

    Exact same issue and was about to post about it. Will be following this!

    Thread Starter kyledoesit

    (@kyledoesit)

    I deactivated every plugin besides elementor and premium addons, also changed themes to the default 2021 but no luck at all

    • This reply was modified 3 years, 1 month ago by kyledoesit.
    Thread Starter kyledoesit

    (@kyledoesit)

    current error messages

    i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2 Uncaught TypeError: Cannot read properties of undefined (reading 'defaultHooks')
        at Module.Vhyj (i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2)
        at n (i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2)
        at wp.i18n.4Z/T (i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2)
        at i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2
    Vhyj @ i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2
    n @ i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2
    wp.i18n.4Z/T @ i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2
    (anonymous) @ i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2
    (index):1486 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
        at (index):1486
    (anonymous) @ (index):1486
    (index):1492 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
        at (index):1492
        at (index):1493
    (anonymous) @ (index):1492
    (anonymous) @ (index):1493
    common.min.js?ver=3.4.4:2 Uncaught TypeError: Cannot read properties of undefined (reading '__')
        at Object.2365 (common.min.js?ver=3.4.4:2)
        at __webpack_require__ (common.min.js?ver=3.4.4:2)
        at Object.47729 (common.min.js?ver=3.4.4:2)
        at __webpack_require__ (common.min.js?ver=3.4.4:2)
        at Object.36614 (common.min.js?ver=3.4.4:2)
        at __webpack_require__ (common.min.js?ver=3.4.4:2)
        at common.min.js?ver=3.4.4:2
        at common.min.js?ver=3.4.4:2
        at common.min.js?ver=3.4.4:2
    2365 @ common.min.js?ver=3.4.4:2
    __webpack_require__ @ common.min.js?ver=3.4.4:2
    47729 @ common.min.js?ver=3.4.4:2
    __webpack_require__ @ common.min.js?ver=3.4.4:2
    36614 @ common.min.js?ver=3.4.4:2
    __webpack_require__ @ common.min.js?ver=3.4.4:2
    (anonymous) @ common.min.js?ver=3.4.4:2
    (anonymous) @ common.min.js?ver=3.4.4:2
    (anonymous) @ common.min.js?ver=3.4.4:2
    app-loader.min.js?ver=3.4.4:2 Uncaught ReferenceError: $e is not defined
        at new AppLoader (app-loader.min.js?ver=3.4.4:2)
        at app-loader.min.js?ver=3.4.4:2
        at app-loader.min.js?ver=3.4.4:2
        at app-loader.min.js?ver=3.4.4:2
    Thread Starter kyledoesit

    (@kyledoesit)

    I just increased the couple of settings that were lower than recommended but the issue still persists

    Operating System:	Linux	
    Software:	Apache	
    MySQL version:	Percona Server (GPL), Release 23, Revision 500fcf5 v5.7.23-23	
    PHP Version:	7.4.23	
    PHP Max Input Vars:	10000	
    PHP Max Post Size:	1000M	
    GD Installed:	Yes	
    ZIP Installed:	Yes	
    Write Permissions:	All right	
    Elementor Library:	Connected
    Version:	5.8.1	
    Site URL:		
    Home URL:		
    WP Multisite:	No	
    Max Upload Size:	512 MB	
    Memory limit:	1024M	
    Permalink Structure:	/%postname%/	
    Language:	en-US	
    Timezone:	0	
    Admin Email:		
    Debug Mode:	Inactive
    Thread Starter kyledoesit

    (@kyledoesit)

    Oh, server settings also

    WP Memory Limit:	300 MB
    Server Info:	Apache
    PHP Version:	7.4.23
    PHP Memory Limit:	1 GB
    PHP Post Max Size:	516 MB
    PHP Time Limit:	300
    PHP Max Input Vars:	1000
    SUHOSIN Installed:	–
    MySQL Version:	5.7.23
    Max Upload Size:	512 MB
    Thread Starter kyledoesit

    (@kyledoesit)

    oh and the description also keeps coming back

    Thread Starter kyledoesit

    (@kyledoesit)

    Thank you!

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