Dialog boxes are not loading (500 error)
-
I already put in a support ticket on this issue, but maybe someone here in the WP forums can help me out.
I’m getting a 500 error on the dialog.php files for the IDX post buttons (shortcodes) in the page and post editors. Any reason why this would be?
Just in case this is necessary to know, WP 4.2.2, dsIDXpress 2.1.24, PHP 5.4.41, Cent OS 6 Linux Parallels server.
-
I’m also having the same issue. It would be nice for the developers to acknowledge the issue at least so we know there’s a hotfix on the way. In the meantime, what I’ve been telling my clients is to just copy / paste the shortcode replacing the MLS #
[idx-listing mlsnumber="MLS_NUMBER_GOES_HERE" showpricehistory="true" showschools="true" showextradetails="true" showfeatures="true"]If you have Contact Form 7 installed, that may be causing the issue.
After looking into the issue further it seems that this IDX Plugin author is including core files where they shouldn’t. Currently, in all the shortcode files they are including
wp-admin/admin.phpat the top of the file ( removing this include fixes the issue ). WordPress already includes this file in the admin panel and including it twice causes issues down the road, for more information you may read Contact Form 7 plugin author, Takayuki Miyoshi’s reply to a separate plugin with the same issue:The problem is caused in
embedly/dialog.phpthat loadswp-admin/admin.php. Thewp-admin/admin.phpis for WordPress core to load admin functions on admin pages, plugins should not load…To add onto this I went further to ask the Community Developers why this is the case, user @s_ha_dum had to say:
Because it is loading WordPress out of context– well, parts of WordPress. And that can cause unexpected effects such as functions not being loaded or functions being loaded twice (which will cause fatal errors). You will have trouble with hooks firing multiple times, or not firing. You may have trouble with constants. You may not have trouble, but that depends upon how and why the files are loaded.
I’ve brought this up with Diverse Solutions Support but they didn’t seem to entertain the idea that their plugin may be causing the issue. After a few back and forth emails and even sending in a possible fix ( removing the reference to
wp-admin/admin.php) they didn’t seem interested in hotfixing the problem.While the issue could conflict with other plugins, Contact Form 7 has implemented a work-around to get around this plugins erroneous code. Download the latest version ( 4.2.1 ) to see the changes, read more regarding the issue here:
https://ww.wp.xz.cn/support/topic/fatal-error-class-wpcf7_taggenerator-not-found
Hey Guys,
This issue was resolved with a newer release of Contact Form 7. If you are still experiencing these issues I would highly suggest reaching out to our support team.
Please feel free to reach out to us via the following:
Customer Support:
[email protected]
p. 877.348.7654 Ext. 3Sales:
[email protected]
p. 877.348.7654 Ext. 1Sincerely,
RileyI’m having this same issue with the dialog boxes not working. I have the latest version of Contact Form 7, so I tried deactivating it and still having the issue. Any ideas of how to fix this? I also tried deleting it completely and re-installing..
Hey Langermank,
Below are some trouble shooting steps I would recommend taking to see if this resolves the problem.
I would recommend that you try disabling all of your extra plugins that are installed to make sure that no other plugin is conflicting with ours. If this fixes it then you’ll want to re-enable them one at a time to find the one that was causing the problem.
If you take the above steps and are still having issues then you’ll want to check to see if this is a conflict with your theme design. To test this we recommend temporarily disabling your current theme and applying something default like Twenty Ten or Twenty Eleven. If this resolves the issue then you will need to follow up with your Theme Developer. You will want them to take a look at any PHP errors that might have generated. Our Plugin uses your template files to format the data properly and this type of issue normally occurs because of improper coding.
Please try checking these two things and let us know if you are still having any problems with the plugin so we can look into the issue further for you.
Please do not hesitate to contact us if you have any other questions or concerns regarding this issue or your account.
If the problem persists after the above has been tested please create a support ticket by emailing [email protected]
Please feel free to reach out to us via the following:
Customer Support:
[email protected]
p. 877.348.7654 Ext. 3Sales:
[email protected]
p. 877.348.7654 Ext. 1Sincerely,
Riley
The topic ‘Dialog boxes are not loading (500 error)’ is closed to new replies.