Knowledge.ToString()

Fixed – Media Library Folders plugin TypeError XYZ is undefined

Issue

When I tried to use Media Library Folders WordPress plugin, it shows following errors

Javascript error : TypeError: d is undefined
Javascript error : ReferenceError: slideonlyone is not defined

Root Cause

I manually tried to change the WordPress prefix after WordPress blog was created. I made change only within wp-config.php and renamed tabled but it required change in data as well. This caused the issue.

Fix

Table PREFIX_options has a record with option_name = ‘wp_user_roles’. Change the option_name to ‘PREFIX_user_roles’.

Table PREFIX_usermeta has a record with meta_key = ‘wp_capabilities’ and ‘wp_user_level’. Change meta_key to ‘PREFIX_capabilities’ and ‘PREFIX_user_level’.

Share

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *