• Having some trouble with this plugin and styles not working. When the form uses basic or vercially aligned, I’ll get a 404 trying to load either of those. If I use inherit, the form looks pretty bad.

    What I notice is that with the 404 the url it’s looking for has ‘undefined’ in the address.

    In sources I see this below. Notice the ‘undefinded’. THe further down in the alignment-sets.css it shows what it should be.

    So it seems there’s something preventing it from putting together the correct url. This is the only css url that is fully displayed in my source like this.

    <link id=”ms4wp-basic” rel=”stylesheet” type=”text/css” href=”undefined/wp-content/plugins/moosend/src/public/css/basic-theme.css” media=”all” disabled=””>

    <link id=”ms4wp-valign” rel=”stylesheet” type=”text/css” href=”undefined/wp-content/plugins/moosend/src/public/css/vertically-align.css” media=”all” disabled=””>

    var previewValign = ‘ms4wp-valign’;
    if (!document.getElementById(previewValign))
    {
    var head = document.getElementsByTagName(‘head’)[0];
    var link = document.createElement(‘link’);
    link.id = previewValign;
    link.rel = ‘stylesheet’;
    link.type = ‘text/css’;
    link.href = php_vars.home_url + ‘/wp-content/plugins/moosend/src/public/css/vertically-align.css’;
    link.media = ‘all’;
    link.disabled = “disabled”;
    head.appendChild(link);

    The page I need help with: [log in to see the link]

  • The topic ‘404 on css and undefined in the URL’ is closed to new replies.