badke
Forum Replies Created
-
Sorry about that, it’s actually in /wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Components/Contacts/Contact.php.
I think I have it fixed.
Change line 153 in /wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/ContactService.php from:
public static function create(array $props)
…to…
public static function create(array $props = null)
And change line 17 in /wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Components/Component.php
protected static function getValue(array $array, $item, $default = null)
…to…
protected static function getValue(array $array = null, $item, $default = null)
Catchable fatal error: Argument 1 passed to Ctct\Components\Contacts\Contact::create() must be an array, null given, called in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/ContactService.php on line 63 and defined in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Components/Contacts/Contact.php on line 153
Happening here on submit: https://www.iecpvision.com/
I’d like to have this capability as well.
Forum: Plugins
In reply to: [Digg Digg] Digg Digg with Facebook Like PublishingThank you!
Forum: Plugins
In reply to: [Digg Digg] Digg Digg with Facebook Like PublishingTo clarify by not getting it to work…
The Admin Page link never shows up next to the Like button. And using FB’s URL Linter, I can confirm that I’m set as a FB admin correctly. https://developers.facebook.com/tools/lint/
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] No related postsAfter downloading the older version of YARPP that windows2000 posted, and using the custom options for the related_posts function, I was able to get it to work again.
Using the older version by itself didn’t work. I also deleted the tables the new version of YARPP creates, but I don’t know if that has any impact on whether or not it worked.
In my template I changed:
<?php related_posts(); ?>
to:
<?php related_posts(array('title'=>1,'body'=>1,'tags'=>1,'categories'=>3)); ?>
Obviously, if you’re using the automatically display related posts option, you’ll probably have to manually include the function in your template.
The weird thing is, when I try to tell the function to consider title, body or tags (using 2 or 3) the function breaks at goes back to displaying “No related posts.” The only array of options that works is ‘title’=>1,’body’=>1,’tags’=>1,’categories’=>3.
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] No related postsPHP 5.2.10
MySQL 5.0.45
WordPress 2.8.0
YARPP 3.0.8The YARPP tables were MyISAM, but the rest of the WordPress tables were InnoDB. I made a backup of my database, made a new one with it, and changed all the tables to MyISAM. Didn’t help.
Also, in regards to your post from 3 days ago… I deleted all entries in the related cache table, and made sure compute on the fly was enabled (which it was). Still nothing. All of the related_ID’s were 0 before I did that.
This all happened when I went from WP 2.7.x to 2.8.0. After that upgrade, I immediately updated all plugins, including YARPP (to 3.0.6). Not sure which version of YARPP I upgraded from.
I never checked a post after upgrading WP, so I’m not sure if it broke after the WP upgrade or after the YARPP upgrade.
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] No related postsLooking at the tables in the database, yarpp_related_cache has reference_ID’s, both has nothing but 0’s for the ID and score.
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] No related posts@mitchoyoshitaka, tried using 3.0.8b2, 3.0.8b4 and the latest stable version (updated through WP) — since I haven’t tried anything in a few weeks.
Still having the same problem.
We have a firewall setup on our server, would there have been any changes that 3.0.6 made that could possibly be blocked by a firewall? Seems like a stretch, but figured I’d throw it out there. Like I mentioned originally, the plugin was working great before the upgrades.
Any suggestions for tests that could be run to see where the problem is? Anything I could look for the in the database to see if there’s a problem there?
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] No related postsHelp?