• Creator
    Topic
  • #25181

    andy whit
    Participant
    Been thanked: 0 times

    Hi

    I’ve been doing a bit of general debugging of my site to try and speed it up a little and noticed in Chrome debugger the two following errors keep appearing;

    /wp-content/themes/alora/admin/assets/css/mega-menu.css?ver=1.0 404 file not found.

    /wp-content/themes/alora/admin/assets/js/mega-menu.js?ver=1.0.0 404 file not found.

    i don’t have an alora/admin/assets folder.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Denzel Chia
    Moderator
    Post count: 2866
    Been thanked: 93 times
    #25206 |

    Hi,

    Are you using the latest Alora Theme version 2.7.7?

    Yes, you are correct, those files does not exist.
    But I am not seeing the same errors as you.
    I am using firebug on firefox.

    Thank you

    andy whit
    Participant
    Post count: 4
    Been thanked: 0 times
    #25225 |

    Yes, i’m using 2.7.7.

    Ive not tried firebug yet but something can’t be right if it’s missing the referenced files.

    the code is in Functions.php

    and get_bloginfo(‘template_directory’) in general-template.php looks like it returns null;

    i.e.

    case ‘template_directory’:
    case ‘template_url’:
    $output =;

    Denzel Chia
    Moderator
    Post count: 2866
    Been thanked: 93 times
    #25239 |

    Hi,

    I don’t think there is general-template.php in Alora Theme.
    But the following code is wrong.

    wp_register_style('alora_megamenu', get_bloginfo('template_directory') . '/css/megamenu.css');

    It could be redundant code that needs to be removed or it’s referencing the wrong path.
    There is no megamenu.css within css folder.

    I will report this issue to my employer, Please wait for next theme update.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.