- This topic has 36 replies, 2 voices, and was last updated 5 years, 9 months ago by Skandha.
-
AuthorPosts
-
January 25, 2019 at 8:53 am #164406NicolejParticipant
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?
January 25, 2019 at 9:09 am #164407NicolejParticipantSorry, here the last part of the arrow: -functions.php on line 123
January 25, 2019 at 2:52 pm #164420NicolejParticipantSame 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 123January 25, 2019 at 5:10 pm #164433NicolejParticipantI 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?
January 26, 2019 at 5:45 am #164450SkandhaParticipant@nicolej: I will look into the issue and get back to you on this.
Kind Regards,
SkandhaJanuary 26, 2019 at 6:49 am #164459SkandhaParticipant@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,
SkandhaJanuary 29, 2019 at 2:32 am #164611January 29, 2019 at 3:26 am #164631SkandhaParticipant@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,
SkandhaJanuary 29, 2019 at 3:29 am #164633NicolejParticipant@skandha: it is working. Do I have to take care one something in the future?
What was the problem?January 29, 2019 at 3:33 am #164634SkandhaParticipant@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,
SkandhaJanuary 29, 2019 at 5:38 am #164644NicolejParticipant@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.
January 29, 2019 at 5:50 am #164646SkandhaParticipant@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,
SkandhaJanuary 29, 2019 at 5:59 am #164647NicolejParticipant@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?January 29, 2019 at 6:38 am #164650SkandhaParticipant@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 ImageLet me know if this works out!
Kind Regards,
SkandhaJanuary 29, 2019 at 6:46 am #164654NicolejParticipant@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.
January 30, 2019 at 1:25 am #164709SkandhaParticipant@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,
SkandhaJanuary 30, 2019 at 4:21 am #164749NicolejParticipant@skandha: works perfekt.
need to change the color of the menue links now and the thickness of the lines of all links.
regards
NicoleJanuary 30, 2019 at 4:30 am #164751NicolejParticipant@skandha: and the area behind the featured post on the start page should get a specific background color (the whole wide of the page).
January 30, 2019 at 4:32 am #164752NicolejParticipant@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?
January 30, 2019 at 5:52 am #164763 -
AuthorPosts
- The topic ‘Customizer Not loading: sanitize-functions.php Line 102 & 123’ is closed to new replies.