Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi @kirkofthefleet ,
    The error detail “http_request_failed” is missleading you. Either for https or https the error will be the same.

    The problem here could be simply a performance issue. As the error message says, the loopback request is aborting after 10 seconds without receiving a response.
    So, the first thing that I’d try is to extend the timeout limit to something longer than 10 seconds.
    If you are comfortable with some basic coding, you can achieve this by placing the following snippet into your theme functions.php file:

    function __extend_http_request_timeout( $timeout ) {
        return 60; // seconds
    }
    add_filter( 'http_request_timeout', '__extend_http_request_timeout' );

    (if it is third party theme, you will want to create a child theme to avoid lossing your changes, or put this into a custom plugin).

    If you still get a timeout after 60 seconds, then there is definitely something failing in your API endpoint.

    Cheers

    I’m glad to hear you sorted it out.
    Take care

    I’ve run out of ideas.
    Your change to support quotes isn’t really a solution. The SQL query is malformed for a different reason. Adding the quotes may help you skip the first error, but the site won’t work. The problem here is related to configuration and not caused by WP code, I can guarantee you that.

    There is something in your local server environment that is not working as expected. I’d suggest you to use a tool based on containers for you local envs. A popular one is https://localwp.com/ . It is really cool, easy to use from a GUI but also provides you access to the container if you want to dig into more technical stuff.

    Hey @wmclaxton

    First thing I’d suggest is to make sure that the line
    add_filter('ninja_forms_submit_data', 'model2_ninja_forms_submit_data');
    is being executed, and that it is executed prior to the moment that the apply_filters() methos is triggered by Ninja Forms.

    There are many other things to check, but I don’t have enough information.
    For instance, what is the scope were function model2_ninja_forms_submit_data() is declared. Your filter assumes that it is declared in the global scope.
    If the code is placed into a class, then you need to add the instance reference to the callable.
    Like this
    add_filter('ninja_forms_submit_data', array($this, 'model2_ninja_forms_submit_data'));

    Let me know if this helps. ??

    Glad to hear ??

    I can promise you that you have one menu in the homepage and a different menu in the rest of the pages.
    Not that I’m a mindreader, but I can see in the markup of your site that the homepage is loading the menu called “Homepage Access” and the rest of the pages are loading the menu called “Access Main”.

    So, you will want to edit the menu “Homepage Access” and add the menu item Utah there.

    Hi Damien,
    First time I hear about this error.
    Looks like the setup process failed for some reason and you ended in a broken state.
    I’d suggest you to check if the file wp-config.php was created in the root of your site. If it is not there, you probably have a permission issue, meaning that the user under which php is executed doesn’t have write permission to that folder.

    IF wp-config.php file is there, I’d suggest to delete it and start the installation again.

    An important thing to check is if you DB user has enough permissions. Make sure you start with an empty DB and the user is granted proper access.

    Hope this helps. Let me know if you get it working.

    Take care

    Hi @ilew
    I hear you it is a frustrating issue.
    It’s a long shot since I don’t have too much information, but I’d check file permissions in the uploads folder maybe.

    Let me know if you find any other useful information for troubleshooting.
    Cheers

    Hi @eastlinetheatre,

    Try this CSS

    .copyright.pull-right:after {
        position: relative;
    }

    You can add this on Appearance->Customize under Additional CSS section.

    Hope it helps. Take care

    Hi @hyunism125
    Looks like the menu in the homepage is not the same that you have in the other pages.
    The homepage has its own menu location, apparently.
    You need to go to Appearance->Menu and double check which menu is assigned to the homepage menu location.

    Cheers

    Forum: Fixing WordPress
    In reply to: fatal error

    Hi @delfino1989
    You have a problem in the file review-widgets-for-airbnb.php, line 52.
    Seems that it is trying to create an instance of TrustindexPlugin class passing 4 parameters instead of 5.
    If it is your code, you will need to figure out what parameters are expected by TrustindexPlugin class constructor.
    If not your code, contact the plugin creator and in the meantime disable the plugin.

    Hope this helps. Take care.

    Hi @fijisunshine,
    Have you tried passing the wildcard character in the replacement argument like this:
    LIKE “%s”‘, $prepare . '%')

    Hi @paweleq1994 @robweltman @sjaure ,
    I have the same issue and found the root of the problem.

    In the file wp-content/plugins/nextgen-gallery/nggallery.php
    you need to replace the line
    require_once('vendor/autoload.php');
    with this:
    require_once( dirname(__FILE__) . '/vendor/autoload.php' );

    @mihaiimagely @gabyimagely please pass this to the developers.

    And let me disagree with your ticket priority policy and give you a suggestion after many years giving WordPress support: You should give priority based on how critic the issue is, not only based on the amount of reports. This is causing a 500 internal error and you have 3 different users reporting it within a week.

    Hope this helps.
    Take care you all!

    Hi @jeffsydor-bipc,
    It seems that you are messing things with nested loops there.
    Let’s take your first attempt as example and make it work:

    function list_search_cats() {
      // First we set the empty array for unique categories in local scope
      $uniqueCats = array();
      // Then we loop through search results 
      while ( have_posts() ) : the_post();
    
        $cats = get_the_category();
    
        if (! in_array($cats, $uniqueCats)) :
          $uniqueCats[] = $cats;
        endif;
      endwhile;
      //Then when the loop is finished we loop through the unique cats array.
      foreach($uniqueCats as $cat) :
            echo '<li><a class="tag" href="'.get_category_link($cat->cat_ID).'">' . $cat->cat_name . '</a></li>';
      endforeach;
    }

    I haven’t tested this code, it may need some adjustment, but you can get the idea. Your foreach was executed several times and that’s why you got duplicated categories in the output.

    Hope this helps.
    Take care!

    • This reply was modified 4 years, 11 months ago by jjberry.
    jjberry

    (@eltobiano)

    Hello tempacc1234,

    Hope you are doing well.

    As stated above, reflected XSS is not possible in this case because our plugin is not parsing any injected parameter.
    If you read carefully, the reflection method relies in JS parsing the input from the GET parameters or some other external source.

    – Never trust your users, always sanitize user input. It’s better to check things twice than to not be sure if you checked it enough.

    I totally agree with you on this point and that’s why we released a new version today with enforced sanitization to avoid any confusion.

    Do you even know what XSS is?

    I wouldn’t call this an XSS vulnerability because it doesn’t allow any type of XSS. I believe it is important to emphazise that the sites using this plugin were not at risk.

    Thank you for your useful feedback.

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