Not sure what would be causing this.
What is your repeater template?
Thread Starter
tech6
(@tech6)
Can you try replacing get_the_id() with $post->ID.
You will need to declare global $post at the start of your template.
See my forked gist.
https://gist.github.com/dcooney/68727d94f341af46e9452fd34fa72326
Thread Starter
tech6
(@tech6)
It still failed. I disabled nonces because they were causing problems in the past but for some reason the URL that the plugin is generating still have nonces in it. Could that be the issue?
No, it will still have a nonce, it just won’t verify it.
Can you post some of the errors from your error log?
Thread Starter
tech6
(@tech6)
I went through the error_log for this domain and no PHP error is being generated when the object is requested. The only error that shows up is the standard HTTP 500 error code from our Apache logs, which doesn’t provide any detailed troubleshooting information.
Usually it would provide some info.
At this point I’m sorry but I’m not sure how else to help you.
Cheers,
Thread Starter
tech6
(@tech6)
Could it possibly be a conflicting plugin? We haven’t installed any new plugins. Here’s what we’ve got installed;
Ad Injection
Ajax Load More
Backup
Bootstrap Modals
Easy Fancybox
Facebook Comments
Gallery Bank
Google Analytics
iThemes Security
Jetpack
Thumbnails
WooCommerce
WP Canvas
WP Rocket
WP-Paginate
I disabled iThemes and WP Rocket thinking those might be possible offenders but there was no change.
These are the only errors in our error_log, which aren’t related to the plugin at all;
[02-Aug-2016 15:00:01 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
[02-Aug-2016 20:00:01 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
I don’t think any would be conflicting here… If you create a new template, can you edit that one?
Thread Starter
tech6
(@tech6)
Sorry I’m not sure I understand. I can’t create more templates because I don’t have the custom template addon. I’ve completely uninstalled the load more plugin, including the files and reinstalled it to the same issue.
Sorry I thought you did.
Did you confirm that you can’t make any changes to the default repeater?
Even if you remove all code, it won’t save?
As I said we are on WP Engine and everything works as expected.
Oh wow, really sorry about that, too many tickets on the go.
The only thing left to suggest was too restore the repeater template to the default just to see if it’s the template causing the issue.
Other than that I mean you could try disabling plugins one and by one to see if that’s the cause.
Thread Starter
tech6
(@tech6)
Nice catch there. I restored it to the default template and there’s no more 500 error. Now to learn PHP…
Thread Starter
tech6
(@tech6)
Our developer was able to fix the issue with the template and all is well. thanks for your help.