Get Access to All Templates € 49.- Join Today!

Arrow up
Arrow down
×
Forum Access (04 Jul 2019)

These forums are READ-ONLY for Guests, and only WebKomp club members can post. If you are not a member, please look at joining one of our clubs to get access to this forum.

file Uncaught TypeError

5 years 11 months ago #1142 by Saskia Sanders
I have recently bought and installed the Tenth template and quickstart package.
I have made some changes to the template (change of colour in menu)
When I open the homepage I see a table with a notice:

( ! ) Notice: Undefined index: bottom-a1 in C:\wamp\www\templates\tenth\layouts\theme.php on line 160 Call Stack #TimeMemoryFunctionLocation 10.0003248296{main}( )..\index.php:0 20.05653686416JApplicationCms->execute( )..\index.php:45 30.888215883904JApplicationSite->render( )..\cms.php:258 40.888615884624JApplicationCms->render( )..\site.php:745 50.888715885208JDocumentHTML->parse( )..\cms.php:1045 60.888715885440JDocumentHTML->_fetchTemplate( )..\html.php:455 70.889015885736JDocumentHTML->_loadTemplate( )..\html.php:635 80.889515905384require( 'C:\wamp\www\templates\tenth\index.php' )..\html.php:578 90.889815905600Warp\Helper\TemplateHelper->render( )..\index.php:16 100.891516011384include( 'C:\wamp\www\templates\tenth\layouts\theme.php' )..\TemplateHelper.php:49
( ! ) Notice: Undefined index: bottom-a1 in C:\wamp\www\templates\tenth\layouts\theme.php on line 160
Call Stack
# Time Memory Function Location
1 0.0003 248296 {main}( ) ..\index.php:0
2 0.0565 3686416 JApplicationCms->execute( ) ..\index.php:45
3 0.8882 15883904 JApplicationSite->render( ) ..\cms.php:258
4 0.8886 15884624 JApplicationCms->render( ) ..\site.php:745
5 0.8887 15885208 JDocumentHTML->parse( ) ..\cms.php:1045
6 0.8887 15885440 JDocumentHTML->_fetchTemplate( ) ..\html.php:455
7 0.8890 15885736 JDocumentHTML->_loadTemplate( ) ..\html.php:635
8 0.8895 15905384 require( 'C:\wamp\www\templates\tenth\index.php' ) ..\html.php:578
9 0.8898 15905600 Warp\Helper\TemplateHelper->render( ) ..\index.php:16
10 0.8915 16011384 include( 'C:\wamp\www\templates\tenth\layouts\theme.php' ) ..\TemplateHelper.php:49
" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin>

When I inspect the element it says:
Uncaught TypeError: Failed to execute 'scroll' on 'Window': 2 arguments required, but only 1 present


<script>
wow = new WOW(
{
animateClass: 'animated',
offset: 100
}
);
wow.init();

$(window).scroll(function() {
if ($(this).scrollTop() > 3){
$('').addClass("");
}

});
</script>
</body>
</html>

How can I fix this?


  • Posts: 2

  • Gender: Unknown
  • Birthdate: Unknown
  • Attachments:

    Please Log in to join the conversation.

    5 years 11 months ago - 5 years 11 months ago #1143 by __Mike__
    Replied by __Mike__ on topic Uncaught TypeError
    Hello,

    All these notices you you can disable it in your Joomla admin panel -> Global configurations -> Server Settings panel by changing the Error Reporting parameter to 'None'.

    Modify your php.ini with this line:
    display_errors = off



    WebKomp, Support

    - Please search forums before posting.
    - Chrome DevTools is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions.
    - If a thread is solved please edit your original / first post and place "[SOLVED]".



  • Posts: 1488

  • Gender: Male
  • Birthdate: Unknown
  • Last edit: 5 years 11 months ago by __Mike__.
    The following user(s) said Thank You: Saskia Sanders

    Please Log in to join the conversation.

    Why Choose WebKomp?

    With all the Joomla Templates and WordPress Theme providers out there, why choose us?  Here are many reasons why a WebKomp template/theme would be a good fit for your website:

    • 47+ Templates and Themes
    • We offer a 14-day money-back guarantee
    • Nice Designs - We take pride in our work and we always looking ways to improve the next template release.
    • Affordable - Our prices are low.
    • Free Support - Need help? Just contact us
    • No Backlink Required - You can shut it off in the template's admin panel.
    • Nice Framework - WebKomp templates are powered by Warp7, Helix, T4, Gantry5 intuitive, wonderful  fast, lightweight, and feature-packed frameworks.
    • Easy to Customize - The admin panel provides many useful options that can be easily tweaked from the backend, easily, change fonts, colors, presets and more.
    • Our templates are based on the open Warp 7 , Helix, T4 and Gantry 5 Framework - Refer to the official Warp documentation, T4 Framework , Helix3/Ultimate, Gantry 5 for comprehensive info about how to use and expand the frameworks.
    • Sample Data Available - Quickstart Package allow you install in few clicks theme/template, extensions/plugins and demo data, in final you get full website exactly the same like on demo.
    • Mobile Friendly - All templates on this site are now responsive, meaning they automatically adjust to any screen resolution.  
    • The Single Template/Theme(12 Months Membership) is dedicated to all customer that need only one Template/Theme for their business or private project.