Viewing 15 replies - 1 through 15 (of 16 total)
  • same here ?? no templates in library

    Hi @uptheswa & @erwanpia,
    Can you attach a screenshot of your library?

    if you go the elementor menu and press “sync” does it solve the problem ?

    Thread Starter uptheswa

    (@uptheswa)

    As per first post, I already tried sync but still no templates.

    Please save this code as php file and upload it to your plugins folder.
    activate the plugin “Elementor Page Builder Template Library Testing”, Go to “Elementor TL Testing” menu and press the button.

    paste the result here.

    the code:

    <?php
    /*
    Plugin Name: Elementor Page Builder Template Library Testing
    Version: 1.0
    License: GPL2
    */
    
    define( 'ELEMENTOR_API_INFO_URL', 'https://my.elementor.com/api/v1/info/' );
    
    add_action( 'admin_menu', 'etl_admin_menu' );
    function etl_admin_menu() {
    	add_menu_page( 'Elementor TL Testing', 'Elementor TL Testing', 'manage_options', 'etl', 'etl_render_menu' );
    }
    
    function etl_render_menu() {
    	if ( isset( $_POST['etl_submit'] ) ) {
    		$response = wp_remote_post( ELEMENTOR_API_INFO_URL, [
    			'timeout' => 25,
    			'body' => [
    				// Which API version is used
    				'api_version' => ELEMENTOR_VERSION,
    				// Which language to return
    				'site_lang' => get_bloginfo( 'language' ),
    			],
    		] );
    
    		$httpcode = (int) wp_remote_retrieve_response_code( $response );
    		?>
    
    		<h2>Connection Errors</h2>
    		<?php
    		$errors = array();
    		if ( 200 !== $httpcode ) {
    			$errors[] = 'Fetching template libray failed with http code: ' . $httpcode;
    		}
    
    		if ( is_wp_error( $response ) ) {
    			$errors[] = 'Fetching template libray failed with error: ' . $response->get_error_message();
    		}
    
    		if ( ! empty( $errors ) ) {
    			foreach ($errors as $error ) {
    				echo $error . '<br>';
    			}
    		} else {
    			echo 'Check is ok.';
    		}
    
    		$info_data = json_decode( wp_remote_retrieve_body( $response ), true );
    		$templates = get_option( 'elementor_remote_info_templates_data' );
    		?>
    
    		<h2>Template Library Remote Response</h2>
    		<?php
    		if ( isset( $info_data['templates'] ) && ! empty( $info_data['templates'] ) )  {
    			echo 'Check is ok.';
    		} else {
    			echo 'Empty Value.';
    		}
    		?>
    
    		<h2>Template Library Saved Option</h2>
    		<?php
    		if ( ! empty( $templates ) )  {
    			echo 'Check is ok.';
    		} else {
    			echo 'Empty Value.';
    		}
    	}
    
    	?>
    
    	<div class="wrapper">
    		<h2>Elementor Page Builder Template Library Testing</h2>
    		<form action="<?php echo admin_url( 'admin.php?page=etl' ); ?>" method="post">
    			<label>Click to get debug info for elementor template library</label>
    			<button class="button button-primary" type="submit" name="etl_submit">Start The Test</button>
    		</form>
    	</div>
    	<?php
    }

    Thread Starter uptheswa

    (@uptheswa)

    Connection Errors
    Fetching template libray failed with http code: 0
    Fetching template libray failed with error: cURL error 7: couldn’t connect to host
    Template Library Remote Response
    Empty Value.
    Template Library Saved Option
    Empty Value.
    Elementor Page Builder Template Library Testing
    Click to get debug info for elementor template library

    We made some change,
    check now.

    Thread Starter uptheswa

    (@uptheswa)

    Still not working

    Ran debug again

    Connection Errors
    Fetching template libray failed with http code: 0
    Fetching template libray failed with error: cURL error 7: couldn’t connect to host
    Template Library Remote Response
    Empty Value.
    Template Library Saved Option
    Empty Value.
    Elementor Page Builder Template Library Testing
    Click to get debug info for elementor template library

    did you pressed the sync button ?

    Thread Starter uptheswa

    (@uptheswa)

    yes, i tried to synce again but still no remplates

    is it possible to privately send you link and passwords to demo site that you can see what is happening ?

    Sorry, wordpress forums does not allow to share credentials.

    I suspect it’s a cache issue,
    please wait a few hours and retry.

    Thread Starter uptheswa

    (@uptheswa)

    tried sync again. today still no library. i think i will give up and go back to other page builder

    Just started using Elementor free version and there are no templates in library.
    I found a message in System Info: Not connected (cURL error 7: Failed to connect to 2400:cb00:2048:1::6812:2be4: Network is unreachable.How do I fix this.

    Any help is Appreciated.
    Rodgercu

    In Elementor->System Info you should see:
    Elementor Library: Connected

    If not, I suggest uninstall, clear cache and reinstall. Hopefully System Info shows no errors.

    You won’t see anything in Elementor->My Library until you create some of your own templates. I was confused by this at first.

    You should see the widgets when you edit a page though. Drag a few into a new page and save it (or parts of it) as your own custom template.

    phonyroyal,
    Thank you That’s exactly what I did before your reply and it worked, and the templates, are when I edit a page you click on templates next to add a section and they appear.
    Thanks again

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘No Pre-installed templates in library’ is closed to new replies.