Viewing 20 posts - 1 through 20 (of 37 total)
  • Author
    Posts
  • #164406
    Nicolej
    Participant

    Hi
    The customizer of the free devin theme is not loading anymore. This error message is displayed:
    Warning: in_array() expects parameter 2 to be array, string given in /home/.sites/639/site1066696/web/wp-content/themes/divin/inc/customizer/sanitize-functions.php on line 102 Warning: array_intersect(): Argument #1 is not an array in /home/.sites/639/site1066696/web/wp-content/themes/divin/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/639/site1066696/web/wp-content/themes/divin/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/639/site1066696/web/wp-content/themes/divin/inc/customizer/sanitize-

    Can you help finding a solution?

    #164407
    Nicolej
    Participant

    Sorry, here the last part of the arrow: -functions.php on line 123

    #164420
    Nicolej
    Participant

    Same Problem with Divin-Pro:
    Warning: in_array() expects parameter 2 to be array, string given in /home/.sites/639/site1066696/web/wp-content/themes/divin-pro/inc/customizer/sanitize-functions.php on line 102 Warning: array_intersect(): Argument #1 is not an array in /home/.sites/639/site1066696/web/wp-content/themes/divin-pro/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/639/site1066696/web/wp-content/themes/divin-pro/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/639/site1066696/web/wp-content/themes/divin-pro/inc/customizer/sanitize-functions.php on line 123

    #164433
    Nicolej
    Participant

    I alread:
    – deactivated all plugins
    – deleted and reinstalledthe theme
    Did not helped at all.

    Funny is that the customizer is working at the beginning. The Problem occurs during customization. Maybe related to the usage of the google font plugin?

    #164450
    Skandha
    Participant

    @nicolej: I will look into the issue and get back to you on this.

    Kind Regards,
    Skandha

    #164459
    Skandha
    Participant

    @nicolej: I will need to check your admin settings so that I can look into the issue you are having. For that I will need your WP admin credentials. I will contact you shortly by email.

    Kind Regards,
    Skandha

    #164611
    Nicolej
    Participant

    @Skandha do you have any update for me yet?

    #164631
    Skandha
    Participant

    @nicolej: Hello Nicole,
    I have fixed the issue with the customizer on your site. Can you please login to your site and check if the issue is resolved?

    Kind Regards,
    Skandha

    #164633
    Nicolej
    Participant

    @skandha: it is working. Do I have to take care one something in the future?
    What was the problem?

    #164634
    Skandha
    Participant

    @nicolej: No you wont need to take care of anything in the future. There were few warnings in one of the function due to which the customizer was not working. That has been fixed. 🙂

    Kind Regards,
    Skandha

    #164644
    Nicolej
    Participant

    @skandha: ok thank you. can you further help to to change the font style of the sub headline oft the website? Where can I find the settings? need to set it to a smaller font size.

    #164646
    Skandha
    Participant

    @nicolej: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .site-description {
    	font-size:30px;
    }

    You can change the font size according to your requirement.
    Let me know if this works out!
    Kind Regards,
    Skandha

    #164647
    Nicolej
    Participant

    @skandha ok.
    And how can I remove the subheading from the other sites or from specific sites?
    Is it possible to change the high of the header image?
    Is it possible to add different images per page?

    #164650
    Skandha
    Participant

    @nicolej: Let me know on which specific pages you want the subheading to be displayed.

    To change the height of the Header Image
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .custom-header-content {
    	padding:100px 98px 500px; 
    }

    You can change the padding to adjust the height of the header image.

    To have different header images per page.
    Go to => Dashboard => Edit a Post/page => Set a featured image.

    Now,
    Go to => Appearance => Customize => Header Media => Enable on Entire Site, Page/Post Featured Image

    Let me know if this works out!
    Kind Regards,
    Skandha

    #164654
    Nicolej
    Participant

    @skandha the image thing worked for me. thanks.

    The sub headline should only be visible on the start page and on this site http://www.miss-grünzeug.at/ernaehrungstraining/ and the sites below the mentioned one.

    #164709
    Skandha
    Participant

    @nicolej: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    body:not(.home):not(.page-id-162):not(.page-id-379):not(.page-id-409):not(.page-id-312):not(.page-id-304):not(.page-id-315):not(.page-id-296) .site-description {
    	display:none;
    }

    This will display the site description only on your homepage, Ernährungstraining page and the sub items of Ernährungstraining.

    Let me know if this is what you want!
    Kind Regards,
    Skandha

    #164749
    Nicolej
    Participant

    @skandha: works perfekt.
    need to change the color of the menue links now and the thickness of the lines of all links.
    regards
    Nicole

    #164751
    Nicolej
    Participant

    @skandha: and the area behind the featured post on the start page should get a specific background color (the whole wide of the page).

    #164752
    Nicolej
    Participant

    @skandah: additionally I want to highlight different paragraphs on different sites with the mentioned background color (over the whole wide of the page). Can you help me finding the correct html code?

    #164763
    Nicolej
    Participant

    @skandha: one more question – can I rearrange the order of the elements on the start site? Like to have the featured content and below if it the featured slider.

Viewing 20 posts - 1 through 20 (of 37 total)
  • The topic ‘Customizer Not loading: sanitize-functions.php Line 102 & 123’ is closed to new replies.