Viewing 30 results - 2,671 through 2,700 (of 16,898 total)
  • Author
    Search Results
  • #1325943

    I just double check and you are right. Don’t know what went wrong in my DEV env … most certain stale folders from previous test runs with plugins.

    Fun fact: There is actually one reference to this particular cache directory in the WordPress sources: https://github.com/WordPress/wordpress-develop/blob/1cf97a3c1479f90a86450f19bd361c71f4b999e3/src/wp-includes/rss.php#L721
    Yet the code ist 14 years old ;-)

    If you can make the two additional filters work to allow paths outside the uploads directory, that would be amazing. And yes it’s on us to care for proper folder access rights and stuff :-)

    Thank you very much for your patience and double checking this!

    Best regards,
    Jan

    #1325925
    hendriks58
    Participant

    Foutdetails
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 370 van het bestand /heijmanswoningontruiming.nl/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php. Foutmelding: Uncaught TypeError: Argument 2 passed to aviaPostCssManagement::handler_wp_save_post() must be an instance of WP_Post, null given, called in /public_html/heijmanswoningontruiming.nl/wp-includes/class-wp-hook.php on line 303 and defined in /public_html/heijmanswoningontruiming.nl/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php:370
    Stack trace:
    #0 /public_html/heijmanswoningontruiming.nl/wp-includes/class-wp-hook.php(303): aviaPostCssManagement->handler_wp_save_post(0, NULL, false)
    #1 /public_html/heijmanswoningontruiming.nl/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /public_html/heijmanswoningontruiming.nl/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /public_html/heijmanswoningontruiming.nl/wp-includes/post.php(4468): do_action(‘save_post’, 0, NULL, false)
    #4 /public_html/heijmanswoningontruiming.nl/wp-content/them

    i dont no how i need to fix it

    • This topic was modified 4 years, 6 months ago by hendriks58.
    #1325757

    Hello again,

    I have resolved the issue by doing the following.

    I increased the memory limit in wp-includes/default-constants.php

    done a find for
    define( ‘WP_MEMORY_LIMIT’, ’40M’ );
    and replaced with
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    Hope this helps anyone who sees “Allowed memory size bytes exhausted issues when enabling php 7.4

    Thanks,
    John O Connor.

    #1325755
    johnoros
    Participant

    Hello,

    I am currently running WordPress 5.8.1 and Enfold 4.8.6.5

    When I enable PHP 7.4 on my VPS my site throws the following errors. How can I resolve the error related to Enfold.

    Errors I am receiving with debug mode turned on
    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/mysite/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-html-helper.php on line 1701

    Any help much appreciated,
    Thanks,
    John O Connor

    #1325711
    Saline_Sawks_Salad
    Participant

    I want to make my mobile menu sticky and fount the instruction here

    /* Sticky header on mobile */
    @media only screen and (max-width: 767px) {
    .responsive #top #main {
    /* Margin top value should be equal to header height*/
    margin-top: 180px;
    }
    .responsive #top #wrap_all #header {
    position: fixed;
    }
    }

    When I pasted the code into my functions php file I get the following error message

    Your PHP code changes were rolled back due to an error on line of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘only’ (T_STRING)

    #1325607
    apliweb
    Participant

    Hi,
    Footer has gone after wordpress update to 5.8.1 and Enfold 4.8.6.5
    When i enable WP_DEBUG it shows some notices:
    Undefined index: footer_option in enfold/footer.php 30
    Undefined index: footer_behavior in enfold/footer.php on line 32
    Undefined index: footer_behavior in enfold/footer.php on line 270

    Best Regards.

    #1325560

    In reply to: Enfold Showcase

    Another project to share with you.

    https://www.mavericksecurityltd.co.uk/

    Maverick Security Ltd
    Maverick Security is a new startup Manned guarding (security guard) provider based in Derbyshire UK. They specialise in providing reliable security guards for business premises and events throughout the UK.
    We were tasked with creating a simple recognisable logo that can be embroided and printed on clothing easily. The colour scheme was then transfered into Enfold for consistency.

    The site has some bespoke performance settings including font preload and serving a different background image depending on the screen size. The site currently scores between 95/100 and 97/100 depending on the test run.

    Performance stack:
    Bespoke functions.php settings
    WP-Optimize – Caching and HTML minification
    EWWW WebP Conversion
    Short Pixel thumbnail regenerator
    Enfold Performance settings on

    Logo and Website designed by Think Jarvis Design and Marketing based in Swadlincote UK.

    I have updated this post to include newer performance figures – The cause and fix of the LCP score being high are here:

    https://kriesi.at/support/topic/lcp-issue-and-font-file-sizes/

    EDIT:
    We had some issues getting Google to crawl the whole site (unrelated to rest of post). I have added links below to try and encourage Google to Index the entire site. I hope support do not mind! :) I will remove if it is successful.

    Maverick Security – Manned Guarding Services
    Gatehouse Duty – Security Guards
    Festival Stewards and Event Security Staff
    Door Supervisors for Pubs and Nightclubs

    • This reply was modified 4 years, 5 months ago by thinkjarvis. Reason: Would really help the client temporarily
    #1325558
    Guenni007
    Participant

    there was a topic here on board – and i think it is not solved! ( Link )
    on Masonry there are different snippets to influence the excerpt_length.
    One is a mighty tool to influence over filter: avf_masonry_loop_prepare one use the filter : avf_masonry_excerpt_length

    for normal blog – without using ALB – the postslider.php seems to be controlling it
    on line 635 : $excerpt_length = 60; is set!

    on line 721 the filter: avf_postgrid_excerpt_length is doing the job on grid blog view
    so something like this will work:

    function avia_change_postgrid_excerpt_length($length){
       $length = 200;
       return $length;
    }
    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);

    BUT: – the excerpt inserted manually on the editor page ( postexcerpt input field ) isn’t influenced on that setting.
    HOW to influence even these excerpts ?

    #1325510

    In reply to: Blog post arrow button

    Hey FamalcoGroup,

    Thank you for the inquiry.

    Try to add this css code to hide the text and replace the icon with a different arrow.

    .more-link {
        color: #ffffff;
    }
    
    .more-link .more-link-arrow {
        color: gray;
    }
    
    .more-link-arrow:after {
        color: gray;
        content: "";
        font-family: 'entypo-fontello';
        font-size: 20px;
        left: -75px;
        position: relative;
    }

    If you want to completely remove the text, try to add this script in the functions.php file.

    function ava_script_read_more_arrow() { ?>
    <script>
    (function($) {
        $(".more-link").html("<span class='more-link-arrow'></span>");
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_script_read_more_arrow');
    

    Best regards,
    Ismael

    #1325469

    Topic: Buttonrow Fatal Errors

    in forum Enfold
    Peter
    Participant

    Hi,

    We are getting fatal errors when editing pages with buttons:

    An error of type E_ERROR was caused in line 742 of the file /home/xxx/public_html/xxx.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttonrow/buttonrow.php. Error message: Uncaught Error: Cannot unset string offsets in /home/xxx/public_html/xxx.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttonrow/buttonrow.php:742

    WordPress version 5.7.2
    PHP version 7.4.24

    The website, theme/plugins are fully updated. Content is not missing after those error crashes. The error is not triggered every time when a page is updating. Our website is too busy to troubleshoot it disabling all plugins for a long time trying to catch those errors. What else I can do to fix it?

    More info below, in the hidden field.

    Thanks.

    #1325448
    hostworks
    Participant

    receiving this error after updating Enfold, while saving functions.php

    Your PHP code changes were rolled back due to an error on line 50 of file D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\option_tabs\avia_cookie.php. Please fix and try saving again.

    Uncaught Error: Class ‘av_privacy_class’ not found in D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\option_tabs\avia_cookie.php:50
    Stack trace:
    #0 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\includes\admin\register-admin-options.php(284): include()
    #1 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(246): include(‘D:\\Webdocs\\csad…’)
    #2 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(197): avia_superobject->_create_option_arrays()
    #3 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(146): avia_superobject->init()
    #4 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\framework\php\class-superobject.php(482): avia_superobject::instance(Array)
    #5 D:\Webdocs\csadmin\cswpstage.hostworks.net\wwwroot\wp-content\themes\enfold\fr

    #1325332

    In reply to: pre-sale question

    Hey Mindaugas,
    Thank you for contacting us, the styles & settings should be compatible, but v4.8.6.5 needs PHP v7.4 and WordPress v5+
    I recommend creating a staging site of your live site if you can, this is an option in most cPanels to create a staging clone of your site so you can test on it and your live site will stay up and running. You can always ask your webhost to help you with setting this up if you want.

    Here are some screenshots of what it would look like:
    staging-1.jpg
    staging-2.jpg

    Then via FTP look for the “enfold” folder at /wp-content/themes/enfold/ and rename to “enfold-old” then upload the new version as the folder “enfold”
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.
    Once you have cleared your browser cache and tested that your site is working correctly, you can delete the old folder “enfold-old”.

    Best regards,
    Mike

    #1325330

    Hi,
    I changed the script to this:

    function delay_header() { ?>
        <script>
    (function($) {
    	var width = $(window).width()
    	if ((width >= 768)) {
    	$("#header").css({'opacity':'0'});
    	setTimeout(function(){
    	$("#header").css({'opacity':'1'});
    	},8000);
    	} else {}
    }(jQuery)); 
    </script>
        <?php
    }
    add_action('wp_footer', 'delay_header');

    please clear your browser cache and check.

    Best regards,
    Mike

    #1325318

    Hi,
    Glad to hear this helped, for mobile you may want to use this:

    @media only screen and (max-width: 767px) { 
    	#top.home .n2-ss-no-bga-fixed {
        top: -130px;
    }
    }

    to make the mobile header background header transparent on first load, try this:

    @media only screen and (max-width: 989px) {
    .html_mobile_menu_tablet #top #wrap_all #header.av_header_transparency {
        background-color: transparent;
    }
    }
    

    on scroll the header will turn black, if you want it to stay transparent use this instead:

    @media only screen and (max-width: 989px) {
    .html_mobile_menu_tablet #top #wrap_all #header.av_header_transparency,#header.header_color .header_bg {
        background-color: transparent;
    }
    }

    to delay the header by 8 seconds (after your splash screen) Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function delay_header() { ?>
        <script>
    (function($) {
    	$("#header").css({'opacity':'0'});
    	setTimeout(function(){
    	$("#header").css({'opacity':'1'});
    	},8000);
    }(jQuery)); 
    </script>
        <?php
    }
    add_action('wp_footer', 'delay_header');

    to move your menu items up try this:

    #top #header_main #av-burger-menu-ul {
        vertical-align: top;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1325254

    Hey sysop2018,
    Thank you for the link to your site, try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function add_gtag_to_contact_submit() { ?>
        <script>
    (function($) {
    $('#top.page-id-1607 .contact-landing .button[type=submit]').attr('onclick', 'return gtag_report_conversion(\'https://sysop.com.mx/desarrollo-web-y-de-aplicaciones/\')\;');
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'add_gtag_to_contact_submit');

    Best regards,
    Mike

    #1325247

    Hi Mike,

    Thank you so much! This removed the error. However, isn’t this a recommended option?

    The PHP version is 7.4. It does not use any of the above.

    #1324983

    did you have the last Enfold installed?
    because magazine has this too on 4.8.6.3.: https://kriesi.at/support/topic/error-25/#post-1322781
    or update to 4.8.6.5

    go and look if on line 464 from postslider.php there is only:

    if( 'disabled' == $atts['img_scrset'] )
    

    and try to replace it with:

    if( isset( $atts['img_scrset'] ) && 'disabled' == $atts['img_scrset'] )
    
    #1324980

    Topic: demo import error

    in forum Enfold
    giaimoluisa
    Participant

    When I try to import a demo theme, it always throws an error saying it is impossible to load the demo
    My Enfold version is 4.8.6.5
    The Php version is 7.4.6

    Best regards

    Allego la loro risposta:

    Laura replied
    Oct 14, 14:54
    Hi Cristina,

    Thank you for getting in touch with the Yoast support team. As much as we would like to help you in your own language, we, unfortunately, can’t. Since we have a global support team, we’ll only be able to answer your questions in English. This will allow us to answer your question(s) as quickly as possible.

    In this case, we use a Translation Machine, and also, thanks to your images, we see you’re having a cUrl error 28 and a not mobile-friendly error. We can see how this might give you pause. We are happy to take a look! Let’s see what is going on.

    1. cURL 28 error
    In the Yoast SEO plugin, we have the Ryte integration. This integration is an easy check via Ryte for making sure your site is indexed by Search Engines. However, from time to time, some errors appear.

    In this case, the issue typically occurs due to the cURL PHP extension when unable to contact the Ryte server. Ryte check is a single call to the Ryte services. They, in turn, try to reach your website to see if it’s accessible/indexable by robots. If they visit your website, this check passes. If you’re on a development/staging website, they probably can’t see your site, and the health check will report an error. This could mean there’s an issue outside of your control, like a server issue between your site and Ryte or Ryte’s server itself.

    In this case, it seems to be getting timeout errors while connecting to Ryte. Kaliweb found that the issue is related to many redirects on your site. Here, our suggestion is to contact your web developer and ask them to look at this redirect issue.

    This is an error that does not influence your site rank in any way. We’ve seen this a few times, and usually, it resolves when the communication path is open and accessible.

    To be sure, we searched for your site on Google, and we can assure you your site is well-indexed by Google: About 782 results! So, you can safely ignore the issue and, if you like, you can disable the Ryte integration by going to Menu SEO>Impostazioni SEO>Generale – Yoast SEO>Integrazioni>Integrazioni con Ryte>Off>Salva le modifiche.

    2. Site not mobile-friendly
    The second image shows that the Google Mobile-friendly test tool returns your site is not optimized for mobile devices. The Google tool reports which are the issue. They are all related to how your site is designed (testo troppo piccolo da leggere and elementi selezionabili troppo vicini tra loro). Because mobile-friendliness is one of the Google ranking factors, we strongly suggest you ask your site developer to solve this issue by following the indication Google suggests in the report.

    I hope it helps and please let us know if some other question comes up, and we can be of further assistance.

    Per rendere la visione di Google ottimizzata per i mobile – cosa che prima non mi segnalava – finché i server keliweb non applico la modifica di far accedere la Ryteboot al mio files htaccess – dove devo andare a modificare ?

    #1324927
    silentone_2016
    Participant

    Hello Support,
    we installed the theme successfully, but if we want to start the customizer, following error occurs.

    [Thu Oct 14 11:11:09.171648 2021] [fcgid:warn] [pid 22645] [client 149.172.65.82:53666] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required ‘/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php’ (include_path=’.:/usr/share/php’) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/admin.php?page=rank-math-options-titles
    [Thu Oct 14 11:26:01.698548 2021] [fcgid:warn] [pid 1630] (104)Connection reset by peer: [client 149.172.65.82:61330] mod_fcgid: error reading data from FastCGI server, referer: https://dev.herbals-nature.de/wp-admin/admin.php?page=rank-math-options-titles
    [Thu Oct 14 11:26:01.698602 2021] [core:error] [pid 1630] [client 149.172.65.82:61330] End of script output before headers: customize.php, referer: https://dev.herbals-nature.de/wp-admin/admin.php?page=rank-math-options-titles
    [Thu Oct 14 11:26:02.637428 2021] [fcgid:warn] [pid 1366] [client 149.172.65.82:61335] mod_fcgid: stderr: PHP Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-content/plugins/gutenberg/lib/class-wp-theme-json-gutenberg.php on line 602
    [Thu Oct 14 11:26:12.727981 2021] [fcgid:warn] [pid 2363] [client 149.172.65.82:61338] mod_fcgid: stderr: PHP Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-content/plugins/gutenberg/lib/class-wp-theme-json-gutenberg.php on line 602
    [Thu Oct 14 11:26:13.729165 2021] [fcgid:warn] [pid 3139] [client 149.172.65.82:61341] mod_fcgid: stderr: PHP Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-content/plugins/gutenberg/lib/class-wp-theme-json-gutenberg.php on line 602
    [Thu Oct 14 12:03:48.771253 2021] [fcgid:warn] [pid 14076] [client 84.166.20.16:52209] mod_fcgid: stderr: PHP Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-content/plugins/gutenberg/lib/class-wp-theme-json-gutenberg.php on line 602
    [Thu Oct 14 12:09:52.640954 2021] [fcgid:warn] [pid 15683] [client 149.172.65.82:56938] mod_fcgid: stderr: PHP Warning: require_once(/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php): failed to open stream: No such file or directory in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/admin.php?page=rank-math-options-titles
    [Thu Oct 14 12:09:52.640976 2021] [fcgid:warn] [pid 15683] [client 149.172.65.82:56938] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required ‘/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php’ (include_path=’.:/usr/share/php’) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/admin.php?page=rank-math-options-titles
    [Thu Oct 14 12:11:54.666080 2021] [fcgid:warn] [pid 15681] [client 149.172.65.82:57001] mod_fcgid: stderr: PHP Warning: require_once(/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php): failed to open stream: No such file or directory in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/themes.php
    [Thu Oct 14 12:11:54.666100 2021] [fcgid:warn] [pid 15681] [client 149.172.65.82:57001] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required ‘/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php’ (include_path=’.:/usr/share/php’) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/themes.php
    [Thu Oct 14 12:13:58.475426 2021] [fcgid:warn] [pid 15719] [client 149.172.65.82:52862] mod_fcgid: stderr: PHP Warning: require_once(/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php): failed to open stream: No such file or directory in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/themes.php
    [Thu Oct 14 12:13:58.475444 2021] [fcgid:warn] [pid 15719] [client 149.172.65.82:52862] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required ‘/home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/customize/class-wp-customize-cropped-image-control.php’ (include_path=’.:/usr/share/php’) in /home/herbals-nature/domains/dev.herbals-nature.de/public_html/wp-includes/class-wp-customize-control.php on line 731, referer: https://dev.herbals-nature.de/wp-admin/themes.php

    Can someone guide us to the right way?

    Viele Grüße

    Tamer Kor

    #1324834

    Hi Jeroen,

    I’m not sure why, but I’m getting this error message after saving your home page:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/p201223/domains/yoursite.com/public_html/wp-includes/wp-db.php on line 1977
    Er heeft zich een kritieke fout voorgedaan op deze site. Controleer je site beheerder e-mail inbox voor instructies.

    It might help if you adjust the max execution time value on your server. You could also try copying the page to a new page, to see if that helps. You would need to enable debug mode in order to copy the shortcodes from a page to another page: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode.

    If you need further help, then please share server error logs with us.

    Best regards,
    Rikard

    #1324818
    Tobias
    Participant

    Hi Support,

    we got errors on our website
    Notice: Undefined index: img_scrset in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php on line 464
    Notice: Undefined variable: the_id in /wp-content/themes/enfold/footer.php on line 48
    Notice: Undefined variable: the_id in /wp-content/themes/enfold/footer.php on line 73
    Notice: Undefined variable: the_id in /wp-content/themes/enfold/footer.php on line 85

    We disable any plugin – but the bug doesn´t change.

    What is the problem?

    Thanks for your help!

    Best regards

    Tobias

    #1324705

    Hey Erdrol,

    Thank you for the inquiry.

    This is possible but you will have to modify the config-templatebuilder/avia-template-builder/php/class-template-builder.php file and look this code around line 1713.

    	//create tiny mce button
    			$tiny = array(
    						'id'				=> 'avia_builder_button',
    						'title'				=> __( 'Insert Theme Shortcode', 'avia_framework' ),
    						'image'				=> $this->paths['imagesURL'] . 'tiny-button.png',
    						'js_plugin_file'	=> $this->paths['assetsURL'] . 'js/avia-tinymce-buttons.js',
    						'shortcodes'		=> array_map( array( $this, 'fetch_configs' ), $this->shortcode_class )
    					);
    

    To remove a specific shortcode, just use the unset function to remove an entry in the $tiny[“shortcodes”] array. Add this line below the code.

    unset($tiny["shortcodes"]["avia_sc_button"]);
    

    This will remove the button element from the shortcode magic wand.

    Best regards,
    Ismael

    #1324470

    I really appreciate you having a look at this for me. This issue is now resolved.
    I did further testing and finally realised it was WooCommerce !
    I thought you might like to see what their support reported back to me,
    >>>
    I logged into your site and am seeing a number of PHP fatal errors similar to this one:
    2021-10-12T00:31:25+00:00 CRITICAL Maximum execution time of 360 seconds exceeded in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/TimeInterval.php on line 321

    This error is something we’ve been seeing occur with some users since the release of WooCommerce 5.7.1. Our developers are aware of this issue and are working towards a solution. There is an active bug report that you can follow here for additional information: https://github.com/woocommerce/woocommerce-admin/pull/7763

    The report specifies this as an Analytics issue, but the core problem is the same error that is seen on your site. I would suggest trying the workaround outlined in the report, or rolling WooCommerce back to 5.7 or 5.6.1 until there is a fix for this issue.

    #1324432
    Joanna
    Guest

    Hello,

    I’ve just bought your theme and after installing it I wanted to start to create my site so I’m going to -> sites -> I’m picking up the one i want to edit (home page), click edit and I’m getting error 500.

    Here you have the error:
    PHP Warning: Array to string conversion in C:inetpubwwwrootPMToolswp-includesscript-loader.php on line 2763
    PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in C:inetpubwwwrootPMToolswp-includesclass.wp-dependencies.php:166
    Stack trace:
    #0 C:inetpubwwwrootPMToolswp-includesclass.wp-dependencies.php(166): explode()
    #1 C:inetpubwwwrootPMToolswp-includesclass.wp-styles.php(371): WP_Dependencies->all_deps()
    #2 C:inetpubwwwrootPMToolswp-includesclass.wp-dependencies.php(106): WP_Styles->all_deps()
    #3 C:inetpubwwwrootPMToolswp-includesscript-loader.php(2769): WP_Dependencies->do_items()
    #4 C:inetpubwwwrootPMToolswp-includesclass-wp-hook.php(303): wp_add_iframed_editor_assets_html()
    #5 C:inetpubwwwrootPMToolswp-includesclass-wp-hook.php(327): WP_Hook->apply_filters()
    #6 C:inetpubwwwrootPMToolswp-includesplugin.php(470): WP_Hook->do_action()
    #7 C:inetpubwwwrootPMToolswp-adminadmin-footer.php(105): do_action()
    #8 C:inetpubwwwrootPMToolswp-adminpost.php(369): require_once(‘…’)
    #9 {main}
    thrown in C:inetpubwwwrootPMToolswp-includesclass.wp-dependencies.php on line 166

    Just fix it cause its a bit annoying not to be able to work on theme after 5 minutes after buying it.

    #1324429

    Hi Rikard, thanks for the code but it does not seem to work. I have tried it on 2 separate sites and no luck.

    FWIW, on the site in my first post I am running 4.8.6.3 using a child theme and have header.php from 4.8.6.3 modified with some customizations. On another site, https://swedesboroday.com/, I just updated to 4.8.6.5, replaced layout.css with the corrected one and have no header.php in my child theme (no overrides necessary). Same result on both – no minimal white slider controls any longer on anything below 768px.

    Seems to me this cropped up on 4.8.6.3. Can’t see why the quick CSS entry would not work.

    Any idea how to fix?

    #1324424

    Hi,
    Thank you, I was able to login after many tries and stalls, eventually I tried loading the homepage and saw the admin toolbar and got in via the user profile.
    Your WordPress Site Health Status has no errors, the browser console has no errors, your PHP version is fine (v7.4), and you can access post, pages, plugin, etc, but not the dashboard /wp-admin/index.php
    So it seems that something is blocking that, as it is also the login destination.
    I tried disabling these plugins:
    BackupBuddy
    Booster Plus for WooCommerce
    Classic Editor
    Classic Editor Addon
    Limit Login Attempts Reloaded
    Redirection
    Squirrly SEO 2021 (Smart Strategy)
    but it didn’t help, you said above that the htaccess looks normal, so I don’t know what this could be.
    Try looking at your server error logs for references to /wp-admin/, since the browser console is not giving any errors I assume it’s on the server-side.

    Best regards,
    Mike

    Hi,
    Thank you for your patience, how about a popup modal of the form response, I based this script on this article.
    Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function($){
    
        // Defining our jQuery plugin
    
        $.fn.paulund_modal_box = function(prop){
    
            // Default parameters
    
            var options = $.extend({
                height : "250",
                width : "500",
                title:"",
                description: "",
                top: "2%",
                left: "30%",
            },prop);
            var divbox = $('#result_ajax_response_1').eq(0).html();
                
            return this.click(function(e){
                add_block_page();
                add_popup_box();
                add_styles();
                
                $('.paulund_modal_box').fadeIn();
            });
            
             function add_styles(){         
                $('.paulund_modal_box').css({ 
                    'position':'absolute', 
                    'left':options.left,
                    'top':options.top,
                    'display':'none',
                    'height': options.height + 'px',
                    'width': options.width + 'px',
                    'border':'1px solid #fff',
                    'box-shadow': '0px 2px 7px #292929',
                    '-moz-box-shadow': '0px 2px 7px #292929',
                    '-webkit-box-shadow': '0px 2px 7px #292929',
                    'border-radius':'10px',
                    '-moz-border-radius':'10px',
                    '-webkit-border-radius':'10px',
                    'background': '#fff', 
                    'z-index':'50',
                });
                $('.paulund_modal_close').css({
                    'position':'relative',
                    'top':'-25px',
                    'left':'20px',
                    'float':'right',
                    'display':'block',
                    'height':'50px',
                    'width':'50px',
                    'background': 'url(https://img.icons8.com/ios/50/000000/cancel.png) no-repeat',
                    'background-color':'#fff',
                    'border-radius':'25px',
                    '-moz-border-radius':'25px',
                    '-webkit-border-radius':'25px'
                });
                            /*Block page overlay*/
                var pageHeight = $(document).height();
                var pageWidth = $(window).width();
    
                $('.paulund_block_page').css({
                    'position':'absolute',
                    'top':'0',
                    'left':'0',
                    'background-color':'rgba(0,0,0,0.6)',
                    'height':pageHeight,
                    'width':pageWidth,
                    'z-index':'10'
                });
                $('.paulund_inner_modal_box').css({
                    'background-color':'#fff',
                    'height':(options.height - 50) + 'px',
                    'width':(options.width - 50) + 'px',
                    'padding':'10px',
                    'margin':'15px',
                    'border-radius':'10px',
                    '-moz-border-radius':'10px',
                    '-webkit-border-radius':'10px'
                });
            }
            
             function add_block_page(){
                var block_page = $('<div class="paulund_block_page"></div>');
                            
                $(block_page).appendTo('body');
            }
                    
             function add_popup_box(){
                 var pop_up = $('<div class="paulund_modal_box"><a href="#" class="paulund_modal_close"></a><div class="paulund_inner_modal_box">' + divbox + '</div></div>');
                 $(pop_up).appendTo('.paulund_block_page');
                             
                 $('.paulund_modal_close').click(function(){
                    $(this).parent().fadeOut().remove();
                    $('.paulund_block_page').fadeOut().remove();                 
                 });
            }
    
            return this;
        };
    $(document).ready(function(){
        if($("#result_ajax_response_1").is(":visible")){
            $('#result_ajax_response_1').paulund_modal_box().trigger('click');
        }
     });
    
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    This is the result from my test
    2021-10-10_010.jpg

    Best regards,
    Mike

    #1324316

    please check https://www.metazeit.de – i disabled every plugin and still got this. so it must be the theme.
    i found this in the hml head, but i don’t know where it is injected via php.
    <script id="js-1124342058" src="//static.doubleclick.net/instream/ad_status.js" nonce="s0JJyUU/E8kuwTXhfR7i7Q"></script>
    thanks
    thomas

    #1324313

    Hi,
    Vielen Dank für die Anmeldung, ich sehe, dass Sie eine alte Version 4.7.6.4 verwenden, also aktualisieren Sie bitte auf die aktuelle Version 4.8.6.5
    Wenn Sie dies tun, sollten Sie die Datei functions-enfold.php aus Ihrem Child-Theme entfernen, da die darin enthaltenen Funktionen veraltet sind und wahrscheinlich einen Konflikt verursachen.
    Wenn dies nicht hilft, versuchen Sie bitte, Ihre Plugins nacheinander zu deaktivieren, um sicherzustellen, dass keines einen Konflikt verursacht.

    — Translated with Google —

    Thanks for the login, I see that you are using an old version 4.7.6.4, so please update to the current version 4.8.6.5
    When you do you will want to remove the functions-enfold.php file from your child theme as the functions in it will be out of date and probably cause a conflict.
    If this doesn’t solve then please try disabling your plugins one at a time to ensure none are causing a conflict.

    Best regards,
    Mike

Viewing 30 results - 2,671 through 2,700 (of 16,898 total)