Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Issue with the import feature of the premium version

$
0
0

Replies: 0

WordPress : 5.4 with custom Theme
WP_Recipe_Maker Version : 5.11.1
WP_Recipe_Maker_Premium Version : 5.11.0 

Hello, 

I run into an issue with the import feature in the premium plugin. The export json come from another site using the same premium plugin version.

In the File wp-recipe-maker-premium\includes\public\class-wprmp-import-json.php at the line 81 the function set_transient was returning false whithout any error on the import page.

I had to replace the array by the json string in the set_transient function at line 81 in wp-recipe-maker-premium\includes\public\class-wprmp-import-json.php and replace

$json = get_transient( 'wprm_import_recipes_json' ); at line 122

for the following code

$str = get_transient( 'wprm_import_recipes_json' );
$json = json_decode( $str, true );

This solved my issue.

Let met know if you need more informations.


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>