Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)
  • Thread Starter pmbs

    (@pmbs)

    Hi again,

    Thanks! I see that you have pushed a couple of versions now, but it’s still version 1.0.2 in the Dompdf version as far as I can see.

    Was not able to update it again, but downloaded the plugin ZIP-file and replaced the old install, and it works now. Thanks for quick fix!

    Same – plugin crashes the site after update.

    home//public_html/wp-content/plugins/wp-product-feed-manager/wp-product-feed-manager.php. Feilmelding: Uncaught Error: Failed opening required '/home//public_html/wp-content/plugins/wp-product-feed-manager/includes/user-interface/wppfm-edit-feed-form-functions.php' (include_path='.:/usr/share/php') in /home//public_html/wp-content/plugins/wp-product-feed-manager/wp-product-feed-manager.php:278
    Stack trace:
    #0 /home//public_html/wp-content/plugins/wp-product-feed-manager/wp-product-feed-manager.php(120): WP_Product_Feed_Manager->includes()
    #1 /home//public_html/wp-content/plugins/wp-product-feed-manager/wp-product-feed-manager.php(79): WP_Product_Feed_Manager->__construct()
    #2 /home//public_html/wp-content/plugins/wp-product-feed-manager/wp-product-feed-manager.php(420): WP_Product_Feed_Manager::get_instance()
    #3 /home//public_html/wp-settings.php(473): include_once('/home/1010884.c...')
    #4 /home//public_html/wp-config.php(89): require_once('/home/1010884.c...')
    #5 /home//public_html/wp-load.php(50): require_once('/home/1010884.c...')
    #6 /home//public_html/wp-admin/admin.php(34): require_once('/home/1010884.c...')
    #7 /home//public_html/wp-admin/index.php(10): require_once('/home/1010884.c...')
    #8 {main}
      thrown

    Getting the same error on our site. Had to deactivate the plugin as this JS error prevents all other JS on the site from running.

    Thread Starter pmbs

    (@pmbs)

    This works as intended. Thanks!

    Allthough, this will open the chat every time a user clicks into a new page. Any way to not open it again on load if the user have closed it out once?

    Thread Starter pmbs

    (@pmbs)

    However, a better alternative may be to disable the auto popup and simply add some code to open the chat only on desktop devices instead.

    Thanks for the quick reply. The solution you mention above seems like the best alternative yes 🙂

    Are you sure that you have updated the right place?
    Line 62 in template-tags.php should look like this:

    function addon_has_block( $name, $args = array() ) {

    Seems that WordPress 5.0 with the new editor is using a function named “has_blocks” yes. Easy fix for this is to change the function name for the plugin.

    Only one file needs to be updated. Open “plugins/multiple-content-blocks/assets/inc/template-tags.php”.

    Use an editor to replace all occurrences of has_block with for example addon_has block. You might also want to change the_block with addon_the_block.

    You will also have to update the function name in your template files. Then it should work fine again.

    Thread Starter pmbs

    (@pmbs)

    I was a little quick there. The other folder I tried was a subfolder of PDF.
    Created a folder “PDFs” now and the URL is as expected:

    …/wp-content/uploads/PDFs/test.pdf

    So it works 🙂

    Although another error, which comes when I click “Add new” when already inside a folder. When clicking “Add new” from root this does not appear. Everything works though:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/…/wp-includes/formatting.php:5100) in /var/www/…/wp-content/plugins/real-media-library/inc/attachment/Filter.class.php on line 116

    Thanks!

    Thread Starter pmbs

    (@pmbs)

    Sorted this out by gathering all AJAX-functions (both front- and back-end) in a third file:

    // Is admin, but not doing ajaax
    if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
        require_once('admin/functions_admin.php'); 
    }
    // Is doing AJAX 
    else if ( is_admin() && ( defined( 'DOING_AJAX' ) || DOING_AJAX ) ) {
        require_once('functions_ajax.php'); 
    }
    // Front-end functions
    else { 
    require_once('public/functions_public.php'); 
    }
    Thread Starter pmbs

    (@pmbs)

    Thank you bcworkz. This seems that a more simple solution than the one I came up with yesterday (which also works though :))

    		    		$term_id = get_term_by( 'slug', $term, $taxonomy)->term_id;
    					$taxonomy_name = $taxonomy;
    					$termchildren = get_term_children( $term_id, $taxonomy_name );
    					$exclude = "";
    	
    					foreach ( $termchildren as $child ) {
    						$term2 = get_term_by( 'id', $child, $taxonomy_name );
    						$exclude = $exclude . "" . $term2->term_id . ",";
    					}
    					$exclude = substr($exclude, 0, -1);
    
    					 $args = array(
    					             //Rest of you args go here
    					          	'tax_query' =>  array (
    							        array(
    							            'taxonomy' => $taxonomy, // My Custom Taxonomy
    							            'terms' => explode(',', $exclude), // My Taxonomy Term that I wanted to exclude
    							            'field' => 'id', // Whether I am passing term Slug or term ID
    							            'operator' => 'NOT IN', // Selection operator - use IN to include, NOT IN to exclude
    							        ),
    							    ),
    					              'post_type' => $type,
    					  			  $taxonomy  => $term,
    					              'posts_per_page' => 100,
    					              'order' => 'ASC',
    					          );
    Thread Starter pmbs

    (@pmbs)

    Might it have something to do with that “large_cars” has a parent itself?

    Thread Starter pmbs

    (@pmbs)

    Thank you for your suggestion, but when adding the ‘tax_query’ part no posts at all show up :/

    Thread Starter pmbs

    (@pmbs)

    Never mind. Found out that the “Imagick”-class was missing, and that “ImageMagick” didn’t add this automatically. Host fixed it now!

    Thread Starter pmbs

    (@pmbs)

    Actually I found out now that the server has Imagick installed:

    Path: /usr/local/bin/convert
    Version return code is 127
    
        Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-06-01 http://www.imagemagick.org
        Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
        Features: DPC Modules OpenMP
        Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib

    The host said that the error might be because max_input_vars was exceeded – but I tried to raise it to 10 000 and still no changes:
    PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

    Still says Your server is not configured to run Imagick. in the admin of the plugin, allthough I know this box was checked before even though it was in “disabled” mode.

    Anything you can help with? :<

Viewing 15 replies - 1 through 15 (of 27 total)