• Resolved alifallahrn

    (@alifallahrn)


    Hello
    I installed and activated the plugin. But the plugin does not work properly
    Widgets and Plugin Settings page are without content
    I’m a programmer, I enabled WordPress WP_DEBUG and I fixed 2 errors for this plugin, but the problem was not resolved. The plugin errors and how to fix it are as follows:

    error 1. line 63: find “return $_REQUEST[‘wpcfs’];” and replace with “return isset ($_REQUEST[‘wpcfs’])? $_REQUEST[‘wpcfs’]: false;”
    error 2. line 207: find “WP_CUSTOM_FIELDS_SEARCH_VERSION” and replace with “WPCFS_PLUGIN_VERSION”

    Please inquire about what is the problem with the plugin not working?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author don benjamin

    (@dondon-benjamincouk)

    Hi @alifallahrn,

    Thanks for pointing out how to fix those warning messages, I’ll get those fixes into the next version of the plugin.

    If the page is blank it’s probably crashing with a fatal error for some reason, can you see anything in the error logs?

    If not, are you using the latest version of the plugin? What versions of PHP and wordpress are you using?

    Thanks,
    Don

    • This reply was modified 7 years, 3 months ago by don benjamin.

    I am having a similar problem. I installed and activated the plugin and added the widget to a sidebar. When I open the site, I get the following error message instead of a search form: “Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wordpress\wp-content\plugins\wp-custom-fields-search\search_form.php on line 25”. Also, the Presets Page is blank.

    I’m using WordPress 4.9, PHP version 7.1.1.

    Your plugin appears to be just the functionality I need. I am not a programmer, just a hobbyist. Any chance this will be fixed in a future update? Thanks.

    Plugin Author don benjamin

    (@dondon-benjamincouk)

    Hi @ppweditor,

    Thanks for your report, that message is again just a warning message which shouldn’t affect the functioning of the form, I’ll release a fix which hides that message shortly but it won’t make the form display unless I can find out what’s actually breaking on the form.

    Do you have access to the php error logs? If so can you see any error messages?

    Thanks,
    Don

    Plugin Author don benjamin

    (@dondon-benjamincouk)

    It looks like one of the libraries I’m using for the admin area is unsupported for Internet Explorer versions before 11. This makes sense as these versions are not even supported by Microsoft any more.

    I may consider switching libraries in future, but for now I have simply added a message for the unsupported browsers advising users to upgrade.

    If you’re using an old version of Internet Explorer this would explain why it’s not working for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Preset Page and widget is blank’ is closed to new replies.