shaharel
Forum Replies Created
-
Forum: Plugins
In reply to: [Expire User Passwords] Add profile_update action for password set by adminYes
I noticed that when the admin changed password the expire date was not updated, so I checked the above code and it seems to do the job.
Glad to help.Thanks ??
Hi
I copied your updated code to the server and it works great.
Thanks
[24-Jul-2022 08:26:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Essential_Addons_Elementor\Traits\wc_get_cart_url() in /nas/content/live/xxxxxxxxxx/wp-content/plugins/essential-addons-for-elementor-lite/includes/Traits/Enqueue.php:156
Stack trace:
#0 /nas/content/live/xxxxxxxxxx/wp-includes/class-wp-hook.php(307): Essential_Addons_Elementor\Classes\Bootstrap->enqueue_scripts(”)
#1 /nas/content/live/xxxxxxxxxx/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /nas/content/live/xxxxxxxxxx/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#3 /nas/content/live/xxxxxxxxxx/wp-includes/script-loader.php(2156): do_action(‘wp_enqueue_scri…’)
#4 /nas/content/live/xxxxxxxxxx/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts(”)
#5 /nas/content/live/xxxxxxxxxx/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#6 /nas/content/live/xxxxxxxxxx/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#7 /nas/content/live/xxxxxxxxxx/wp-includes/general-template.php(3042): do_action(‘wp_head’)
#8 /nas/content/live/xxxxxxxxxx/wp-content/themes/hello-elementor/header.php(21): wp_head()
#9 /nas/content/live/xxxxxxxxxx/wp-includes/template.php(770): require_once(‘/nas/content/li…’)
#10 /nas/content/live/xxxxxxxxxx/wp-includes/template.php(716): load_template(‘/nas/content/li…’, true, Array)
#11 /nas/content/live/xxxxxxxxxx/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#12 /nas/content/live/xxxxxxxxxx/wp-activate.php(120): get_header(‘wp-activate’)
#13 {main}### wp-core ### version: 6.0.1 site_language: he_IL user_language: he_IL timezone: Asia/Jerusalem permalink: /%postname%/ https_status: true multisite: true user_registration: false blog_public: 1 default_comment_status: open environment_type: production site_count: 3 network_count: 1 user_count: 101 dotorg_communication: true ### wp-dropins (2) ### advanced-cache.php: true object-cache.php: true ### wp-active-theme ### name: Hello Elementor Child (hello-theme-child) version: 1.0.1 author: Elementor Team author_website: https://elementor.com/ parent_theme: Hello Elementor (hello-elementor) theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets theme_path: /nas/content/live/xxxxxxxxxx/wp-content/themes/hello-theme-child auto_update: ????? ### wp-parent-theme ### name: Hello Elementor (hello-elementor) version: 2.6.1 author: ???? ??????? author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash theme_path: /nas/content/live/xxxxxxxxxx/wp-content/themes/hello-elementor auto_update: ????? ### wp-themes-inactive (5) ### Genesis Block Theme: version: 1.0.0, author: StudioPress, ??????? ????????? ??????? Twenty Nineteen: version: 2.3, author: the WordPress team, ??????? ????????? ??????? Twenty Twenty: version: 2.0, author: ???? ???????, ??????? ????????? ??????? Twenty Twenty-One: version: 1.6, author: ???? ???????, ??????? ????????? ??????? Twenty Twenty-Two: version: 1.2, author: ???? ???????, ??????? ????????? ??????? ### wp-mu-plugins (6) ### Force Strong Passwords - WPE Edition: version: 1.8.0, author: Jason Cosper WPE ElasticPress Autosuggest Logger: version: 1.0.0, author: WP Engine WP Engine Cache Plugin: version: 1.0.10, author: WP Engine WP Engine Seamless Login Plugin: version: 1.6.0, author: WP Engine WP Engine Security Auditor: version: 1.0.10, author: wpengine WP Engine System: version: 5.0.1, author: WP Engine ### wp-plugins-active (67) ### Adminimize: version: 1.11.7, author: Frank Bültge (latest version: 1.11.8), ??????? ????????? ??????? Admin Menu Editor Pro: version: 2.17, author: Janis Elsts, ??????? ????????? ??????? Advanced Custom Fields: version: 5.12.3, author: Delicious Brains, ??????? ????????? ??????? Advanced Custom Fields PRO: version: 5.10.2, author: Delicious Brains (latest version: 5.12.3), ??????? ????????? ??????? Advanced Order Export For WooCommerce: version: 3.3.1, author: AlgolPlus, ??????? ????????? ??????? Checkout Field Editor for WooCommerce: version: 1.6.1, author: ThemeHigh, ??????? ????????? ??????? Countdown Timer for Elementor: version: 1.3.3, author: FlickDevs, ??????? ????????? ??????? Custom Access Roles: version: 2.1.2, author: Room 34 Creative Services, LLC, ??????? ????????? ??????? Custom Order Numbers for WooCommerce: version: 1.3.5, author: Tyche Softwares, ??????? ????????? ??????? Ele Custom Skin: version: 3.1.6, author: Dudaster.com, ??????? ????????? ??????? Elementor: version: 3.6.7, author: Elementor.com, ??????? ????????? ??????? Elementor Pro: version: 3.7.2, author: Elementor.com, ??????? ????????? ??????? Elements For Elementor: version: 2.0, author: Nicdark, ??????? ????????? ??????? Envato Elements: version: 2.0.11, author: Envato, ??????? ????????? ??????? Essential Addons for Elementor: version: 5.1.8, author: WPDeveloper, ??????? ????????? ??????? Expire User Passwords: version: 1.2, author: Miller Media, ??????? ????????? ??????? FiboSearch - AJAX Search for WooCommerce: version: 1.18.1, author: FiboSearch Team, ??????? ????????? ??????? FileBird: version: 5.0.1, author: Ninja Team (latest version: 5.0.3), ??????? ????????? ??????? FooEvents Bookings: version: 1.2.6, author: FooEvents, ??????? ????????? ??????? FooEvents Custom Attendee Fields: version: 1.6.10, author: FooEvents, ??????? ????????? ??????? FooEvents Express Check-in: version: 1.6.2, author: FooEvents, ??????? ????????? ??????? FooEvents for WooCommerce: version: 1.14.22, author: FooEvents, ??????? ????????? ??????? FooEvents Multi-Day: version: 1.5.3, author: FooEvents, ??????? ????????? ??????? FooEvents PDF Tickets: version: 1.9.7, author: FooEvents, ??????? ????????? ??????? FooEvents Seating: version: 1.4.14, author: FooEvents, ??????? ????????? ??????? Intuitive Custom Post Order: version: 3.1.3, author: hijiri, ??????? ????????? ??????? Kadence WooCommerce Email Designer: version: 1.5.2, author: Kadence WP, ??????? ????????? ??????? Limit Login Attempts Reloaded: version: 2.25.3, author: Limit Login Attempts Reloaded, ??????? ????????? ??????? Loco Translate: version: 2.6.2, author: Tim Whitlock, ??????? ????????? ??????? Make Column Clickable Elementor: version: 1.4.0, author: Fernando Acosta, ??????? ????????? ??????? Menu Image: version: 3.0.8, author: Freshlight Lab, ??????? ????????? ??????? Min and Max Quantity for WooCommerce: version: 1.3.2.4, author: BeRocket, ??????? ????????? ??????? myCred: version: 2.4.8.1, author: myCred, ??????? ????????? ??????? myCRED WooCommerce Plus - WooCommerce: version: 1.7.5, author: myCRED, ??????? ????????? ??????? OneCity - Complot WooCommerce: version: 1.1.8, author: Rafael Amar & Eldad Shahar, ??????? ????????? ??????? OneCity Accessibility Fix: version: 9.5.9, author: ladpc (Asaf no-bugs), ??????? ????????? ??????? onecity Patch: version: 1.0.0, author: Margalit s, ??????? ????????? ??????? OneCity points: version: 1.0.0, author: Eldad Shahar, ??????? ????????? ??????? Pages with category and tag: version: 0.9.0, author: YAHMAN, ??????? ????????? ??????? PayKal Residents Area: version: 1.0, author: Sahar Shina - Automation, ??????? ????????? ??????? Post Duplicator: version: 2.28, author: Metaphor Creations, ??????? ????????? ??????? Post Types Order: version: 1.9.9.1, author: Nsp Code, ??????? ????????? ??????? Premium Addons for Elementor: version: 4.9.21, author: Leap13 (latest version: 4.9.22), ??????? ????????? ??????? Product Carousel Slider & Grid Ultimate for WooCommerce: version: 1.8.8, author: wpWax, ??????? ????????? ??????? Readabler: version: 1.3.0, author: Merkulove (latest version: 1.3.5), ??????? ????????? ??????? Side Cart WooCommerce: version: 2.1, author: XootiX, ??????? ????????? ??????? SVG Support: version: 2.4.2, author: Benbodhi, ??????? ????????? ??????? The Plus Addons for Elementor: version: 5.1.1, author: POSIMYTH (latest version: 5.1.2), ??????? ????????? ??????? The Plus Addons for Elementor Page Builder: version: 4.1.5, author: POSIMYTH, ??????? ????????? ??????? TingzSearch For Elementor: version: 2.1.6, author: Ofir, ??????? ????????? ??????? UpdraftPlus - Backup/Restore: version: 1.22.14, author: UpdraftPlus.Com, DavidAnderson, ??????? ????????? ??????? User Role Editor: version: 4.63, author: Vladimir Garagulya, ??????? ????????? ??????? User Switching: version: 1.6.0, author: John Blackbourn & contributors, ??????? ????????? ??????? WCFM - Migrate to WooCommerce Multivendor Marketplace: version: 1.0.9, author: WC Lovers, ??????? ????????? ??????? WCFM - WooCommerce Frontend Manager: version: 6.6.4, author: WC Lovers (latest version: 6.6.5), ??????? ????????? ??????? WCFM - WooCommerce Frontend Manager - Ultimate: version: 6.6.0, author: WC Lovers, ??????? ????????? ??????? WCFM - WooCommerce Multivendor Marketplace: version: 3.5.5, author: WC Lovers (latest version: 3.5.6), ??????? ????????? ??????? WCFM - WooCommerce Multivendor Membership: version: 2.10.4, author: WC Lovers, ??????? ????????? ??????? WooCommerce: version: 6.6.1, author: Automattic (latest version: 6.7.0), ??????? ????????? ??????? WooCommerce IL Payment Gateways: version: 1.0.0, author: Shahar Eldad, ??????? ????????? ??????? WooCommerce IL Payment Gateways - fee calculation plugin: version: 1.0.0, author: Shahar Eldad, ??????? ????????? ??????? WooCommerce Product Add-Ons Ultimate: version: 3.9.4, author: Plugin Republic (latest version: 3.11.3), ??????? ????????? ??????? Woo Products Widgets For Elementor: version: 1.0.6, author: Themelocation, ??????? ????????? ??????? WP Engine Smart Plugin Manager: version: 5.10.17, author: WP Engine, ??????? ????????? ??????? Wp Maximum Upload File Size: version: 1.0.9, author: CodePopular, ??????? ????????? ??????? WPS Hide Login: version: 1.9.6, author: WPServeur, NicolasKulka, wpformation, ??????? ????????? ??????? Yoast SEO: version: 19.3, author: Team Yoast, ??????? ????????? ??????? ### wp-plugins-inactive (17) ### Amelia: version: 4.3.1, author: TMS, ??????? ????????? ??????? Better Search Replace: version: 1.4, author: Delicious Brains, ??????? ????????? ??????? Events Calendar for FooEvents: version: 1.6.38, author: FooEvents (latest version: 1.6.40), ??????? ????????? ??????? Import Export WordPress Users and WooCommerce Customers: version: 2.3.2, author: WebToffee, ??????? ????????? ??????? MultiSite Clone Duplicator: version: 1.5.3, author: Digital Tingz, ??????? ????????? ??????? Multisite Enhancements: version: 1.6.1, author: Frank Bültge, ??????? ????????? ??????? NS Cloner - Site Copier: version: 4.1.9.3, author: Never Settle, ??????? ????????? ??????? Order Export & Order Import for WooCommerce: version: 2.2.5, author: WebToffee, ??????? ????????? ??????? Product Import Export for WooCommerce: version: 2.2.2, author: WebToffee, ??????? ????????? ??????? PublishPress Future: version: 2.7.7, author: PublishPress, ??????? ????????? ??????? Template Kit Export: version: 1.0.21, author: Envato, ??????? ????????? ??????? Template Kit Import: version: 1.0.14, author: Envato, ??????? ????????? ??????? Two Factor: version: 0.7.1, author: Plugin Contributors, ??????? ????????? ??????? WooCommerce Admin: version: 3.3.2, author: WooCommerce, ??????? ????????? ??????? WP All Export: version: 1.3.7, author: Soflyy, ??????? ????????? ??????? WP All Import: version: 3.6.8, author: Soflyy, ??????? ????????? ??????? WP Mail SMTP: version: 3.5.1, author: WPForms, ??????? ????????? ??????? ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1691 imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org imagick_version: 3.7.0 file_uploads: File uploads is turned off post_max_size: 100M upload_max_filesize: 50M max_effective_size: 50 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 137 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 6144 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: not available ### wp-server ### server_architecture: Linux 5.4.0-1073-gcp x86_64 httpd_software: Apache php_version: 8.0.20 64bit php_sapi: apache2handler max_input_variables: 10000 time_limit: 3600 memory_limit: 512M max_input_time: 3600 upload_max_filesize: 50M php_post_max_size: 100M curl_version: 7.74.0 OpenSSL/1.1.1n suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 5.7.38-41-log client_version: mysqlnd 8.0.20 max_allowed_packet: 16777216 max_connections: 500 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /nas/content/live/xxxxxxxxxx/wp-content WP_PLUGIN_DIR: /nas/content/live/xxxxxxxxxx/wp-content/plugins WP_MEMORY_LIMIT: 64M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: ?? ????? DB_CHARSET: utf8 DB_COLLATE: utf8_unicode_ci ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable