userpqr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Login ProblemThanks @oliviaalma for your reply. Do you mean I need to delete all files in the object cache? What is the location of the folder and how should I delete the files in the folder? The problem indeed started happening after I updated a number of plugins as well as the theme.
Forum: Fixing WordPress
In reply to: WordPress showing sensitive information on error pageRevealing server’s IP address is a major security concern. For example, an attacker can spoof the IP address and launch a cyber attack. How can I request to change this message?
Forum: Fixing WordPress
In reply to: WordPress showing sensitive information on error pageHi Steven,
Thanks for the reply. One can derive the server’s actual IP from the shown information and that’s why I am worried. Please note that I use a proxy server and the server’s IP is protected. But, this error message is showing that information. Is there any way I can change the error message?
Hi @themely Thanks for the response.
I changed wp_register_script(‘jquery’, ‘https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js’, false, false, true) to wp_register_script(‘jquery’, ‘https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js’, false, null) and it is working now.
I added the following scripts in functions.php:
function myfunction() {
if(!is_admin()) {
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, ‘https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js’, false, false, true);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘wp_enqueue_scripts’, ‘myfunction’);It works. But, sometimes I am getting the following error:
Uncaught TypeError: s.event.addProp is not a function
jQuery 3
fix
dispatch
handleAnd, sometimes it says, jquery not defined. Please help.
Thanks for the solution. I added the same script in the function.php of the theme. I still keep getting the error:
Uncaught Error: Bootstrap’s JavaScript requires at least jQuery v1.9.1 but less than v3.0.0
at theme.min.js?ver=0.4.4:3
at theme.min.js?ver=0.4.4:3I am adding the following lines in function.php: (at the end of the file)
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, “//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js”, false, null);
wp_enqueue_script(‘jquery’);Am I missing anything? Please note that I am using a child theme.
- This reply was modified 3 years, 10 months ago by userpqr.
Thanks @themely for the response. Is there any possibility that we get the update?
Thanks @oksana40 But the problem is if Verb Lite has stopped supporting the theme, we cannot use it anymore.
Is the Verb Lite theme still supported by themely?
Forum: Fixing WordPress
In reply to: Menu bar does not work after upgrading wordpressHi @ajphoto This does not seem to be a problem with WordPress. You may have some conflicts with your existing theme or some plugin. You may want to disable all the plugins and/or change the theme and figure out what plugin or theme is causing the problem. That plugin or theme needs to be updated as per my understanding.
Forum: Fixing WordPress
In reply to: Menu bar does not work after upgrading wordpressHi @ajphoto For me it is a conflict between the theme and wordpress. I installed Enable jQuery Migrate Helper plugin and set the Jquery version to legacy in the settings. It helps for the time being till the actual issue is resolved.
I did some troubleshooting with the Health Check and Troubleshooting plugin. I can see everything works properly when I change the theme. It looks like it is a conflict with the Verb Lite theme. Please help.
Forum: Fixing WordPress
In reply to: Menu bar does not work after upgrading wordpressThanks a lot @george. I could figure out the conflict with the troubleshoot plugin.
The URL is https://www.thesecuritybuddy.com/security-fundamentals-practice-test-1/
The page works properly for unregistered users. But, if a registered user gives the test, the result page does not show.
It also shows:
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object.success (qsm-quiz.js?ver=7.1.8:60)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)Please help.