Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Alex:

    Rollback to versión 1.7.1 and it will work… At least this worked for me… hope this helps.

    Be careful and make backup before rollback.

    Regards!

    Thread Starter Stescovich

    (@stescovich)

    Hello:

    I’ve downgraded to 1.7.1 and all is working now. I really believe there is a bug in the code.

    It’s weird that in 1.7.3 in preview mode in Elementor the graph is shown and when looking and published page the graph is gone.

    To be more specific as I mentioned NO js is loaded regarding graphina.

    Hope you can solve this.

    Thanks

    Thread Starter Stescovich

    (@stescovich)

    Hello:

    I’ve deactivated both plugins and not even loading the corresponding JS files..

    Something in “live” mode in not being done in the code and in “preview” mode it is..

    Maybe I downgrade version of the plugin… It was working before last update.

    Hope you can help us.

    Thanks

    Thread Starter Stescovich

    (@stescovich)

    Hello:

    I’ve seen your code and when analyzing if “in preview mode” you simply use “wp_register_script” but when result is “in live mode” you “wp_enqueue_script”.

    When I check if JS are loaded this happens:
    Preview mode apexcharts.min.js is loaded an so on the rest JS scripts
    Live mode none is loaded.

    Can this be the issue?

    wp_enqueue_script VS. wp_register_script

    Hope this helps…

    Thanks

    Thread Starter Stescovich

    (@stescovich)

    Hello:

    Thanks for your answer, unluckly I get this error when doing that:

    Warning: Use of undefined constant 'apexcharts' - assumed 'apexcharts' (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.aripublic_html/wp-contentipluginsigraphina-elementor-charts-and-graphs/etementoriclass-graphina-charts-for-elementor-public.php on line 149 
    Warning: Use of undefined constant min' - assumed 'min" (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.aripublic_html/wp-content/plugins/graphina-elementor-charts-and-graphs/eLementor/class-graphina-charts-for-elementor-public.php on line 149 
    Warning: A non-numeric value encountered in /home/customer/www/hoppybox.com.arlpublic_html/wp-content/pluginsigraphina-elementor-charts-and-graphs/etementorklass-graphina-charts-for-etementor-public.php on line 149 
    Warning: Use of undefined constant FILE - assumed 'FILE' (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.aripublic_html/wp-content/plugins/graphina-elementor-charts-and-graphs/elementor/class-graphina-charts-for-elementor-public.php on line 149 
    Warning: Use of undefined constant 'js - assumed "js' (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.aripublic_html/wp-content/plugins/graphina-elementor-charts-and-graphs/etementor/class-graphina-charts-for-elementor-public.php on line 149 
    Warning: Use of undefined constant apexcharts - assumed 'apexcharts' (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.ar/public_html/wp-content/plugins/graphina-elementor-charts-and-graphs/etementor/class-graphina-charts-for-elementor-public.php on line 149 
    Warning: A non-numeric value encountered in /home/customer/www/hoppybox.com.aripublic_html/wp-content/plugins/graphina-elementor-charts-and-graphs/etementoriclass-graphina-charts-for-etementor-public.php on line 149 
    Warning: Division by zero in /home/customer/www/hoppybox.com.ar/public_htmliwp-content/plugins/graphina-elementor-charts-and-graphs/etementor/class-graphina-charts-for-etementor-public.php on line 149 
    Warning: Use of undefined constant min - assumed 'min' (this will throw an Error in a future version of PHP) in /home/customer/www/hoppybox.com.aripublic_html/wp-content/plugins/graphina-elementor-charts-and-graphs/eLementor/class-graphina-charts-for-elementor-public.php on line 149

    The error goes on… but I believe this helps you out to fix this bug.

    Hope you can help
    Thanks`

    • This reply was modified 3 years, 10 months ago by Stescovich.
    • This reply was modified 3 years, 10 months ago by Stescovich.

    You can disable plugin by changing plugin folder name adding an “-” at the end.. Do this so your site recovers and after you see a solution in this forum you can remove that trailing “-“.

    Pretty rough solution but solves the problem of having site down.

    We also had the same problem and we are waiting for a solution as you do.

    Regards

    Hello:

    This also happened to us in our website. When the card doesn’t cover the full amount and clients needs to pay extra. Payment systems gateways Mercado Pago and many others, client is charged 100% and Gift Card is not taken into account.

    Hope you can solve this, since it’s a big mistake.

    Regards

    Same solution here… or simply comment lines //

    But there should be an immediate solution I guess.

    Regards

    Hello,

    I need some help here… How can I achieve website.com/job/region/category/postname?

    I’ve followed instructions (https://wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink) and placed this on my theme’s functions file:

    function job_listing_post_type_link( $permalink, $post ) {
        // Abort if post is not a job
        if ( $post->post_type !== 'job_listing' ) {
        	return $permalink;
        }
    
        // Abort early if the placeholder rewrite tag isn't in the generated URL
        if ( false === strpos( $permalink, '%' ) ) {
        	return $permalink;
        }
    
        // Get the custom taxonomy terms in use by this post
    	$categories = wp_get_post_terms( $post->ID, 'job_listing_category', array( 'orderby' => 'parent', 'order' => 'ASC' ) );
    	$regions    = wp_get_post_terms( $post->ID, 'job_listing_region', array( 'orderby' => 'parent', 'order' => 'ASC' ) );
    
    	if ( empty( $categories ) ) {
    		// If no terms are assigned to this post, use a string instead (can't leave the placeholder there)
    		$job_listing_category = _x( 'uncategorized', 'slug' );
    	} else {
    		// Replace the placeholder rewrite tag with the first term's slug
    		$first_term = array_shift( $categories );
    		$job_listing_category = $first_term->slug;
    	}
    
    	if ( empty( $regions ) ) {
    		// If no terms are assigned to this post, use a string instead (can't leave the placeholder there)
    		$job_listing_region = _x( 'anywhere', 'slug' );
    	} else {
    		// Replace the placeholder rewrite tag with the first term's slug
    		$first_term = array_shift( $regions );
    		$job_listing_region = $first_term->slug;
    	}
    
        $find = array(
        	'%category%',
        	'%region%'
        );
    
        $replace = array(
        	$job_listing_category,
        	$job_listing_region
        );
    
        $replace = array_map( 'sanitize_title', $replace );
    
        $permalink = str_replace( $find, $replace, $permalink );
    
        return $permalink;
    }
    add_filter( 'post_type_link', 'job_listing_post_type_link', 10, 2 );
    
    function change_job_listing_slug( $args ) {
      $args['rewrite']['slug'] = 'job/%region%/%category%';
      return $args;
    }
    add_filter( 'register_post_type_job_listing', 'change_job_listing_slug' );
    
    function add_category_endpoint_tag() {
    	add_rewrite_tag( '%category%', '([^/]*)' );
    }
    add_action( 'init', 'add_category_endpoint_tag' );

    All works perfect but when I click a link to visit any wp job post it gives me 404 error.

    Hope you can help Mike

    Greetings

Viewing 9 replies - 1 through 9 (of 9 total)