May 4, 2011

Investigating a Possible Conflict Between CyberSEO & the Advanced Custom Fields Plugin | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Investigating a Possible Conflict Between CyberSEO & the Advanced Custom Fields Plugin
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
July 21, 2022
12:31 am
Avatar
admin.sgpn
Member
Members
Forum Posts: 4
Member Since:
November 15, 2021
sp_UserOfflineSmall Offline

Hello!

We've been using CyberSEO for quite some time and LOVE IT--thanks for your efforts!

 

We've recently installed some plugins to create custom fields and then use them in a post's permalink.  The main plugin is called "Advanced Custom Fields" and it uses an ancillary plugin for the Permalink work called, "Custom Fields Permalink 2."

Now we receive an error when trying to pull feeds in.  I'm not quite sure where the problem might be stemming and would love some help, if possible. 

Anyone else see this problem?  I'll include the stack trace below.  Thanks!

Cheers,

Tommy 

 

Error Details
=============
An error of type E_ERROR was caused in line 54 of the file /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-permalink.php. Error message: Uncaught ArgumentCountError: Too few arguments to function CustomFieldsPermalink\WP_Permalink::link_post(), 1 passed in /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-permalink.php:54

Stack trace:
#0 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/class-wp-hook.php(307): CustomFieldsPermalink\WP_Permalink->link_post('')
#1 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/plugin.php(191): WP_Hook->apply_filters('', Array)
#2 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(2830): apply_filters('pre_post_link', '')
#3 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(2713): sanitize_post_field('link', '', 0, 'db')
#4 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(4059): sanitize_post(Array, 'db')
#5 /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/cyberseo/cyber

July 21, 2022
12:35 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOnlineSmall Online

Is that a full error report? I mean maybe there was something after "#5 /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/cyberseo/cyber"?

July 21, 2022
1:21 am
Avatar
admin.sgpn
Member
Members
Forum Posts: 4
Member Since:
November 15, 2021
sp_UserOfflineSmall Offline

CyberSEO said
Is that a full error report? I mean maybe there was something after "#5 /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/cyberseo/cyber"?  

That's the extent of what I saw....  But it's a stack, so isn't #5 the first step in the execution, on down to #0 where the exception was thrown? 

July 21, 2022
1:25 am
Avatar
admin.sgpn
Member
Members
Forum Posts: 4
Member Since:
November 15, 2021
sp_UserOfflineSmall Offline

admin.sgpn said

That's the extent of what I saw....  But it's a stack, so isn't #5 the first step in the execution, on down to #0 where the exception was thrown?   

the logs have a teeny bit more at the end....  Here's the stack in the log file. (The above was what printed to screen via debug)

 

2022/07/20 20:51:15 [error] 23859#23859: *11815 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CustomFieldsPermalink\WP_Permalink::link_post(), 1 passed in /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in /www/wwwsportsgamblingpodcastcom_445/public/wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-permalink.php:54
Stack trace:
#0 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/class-wp-hook.php(307): CustomFieldsPermalink\WP_Permalink->link_post('')
#1 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/plugin.php(191): WP_Hook->apply_filters('', Array)
#2 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(2830): apply_filters('pre_post_link', '')
#3 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(2713): sanitize_post_field('link', '', 0, 'db')
#4 /www/wwwsportsgamblingpodcastcom_445/public/wp-includes/post.php(4059): sanitize_post(Array, 'db')
#5 /www/wwwsportsgamblingpodcastcom_4" while reading upstream, client: 2601:985:4400:1ab0:d464:e5dc:d978:9e28, server: staging-wwwsportsgamblingpodcastcom.kinsta.cloud, request: "POST /wp-admin/admin.php?page=cyberseo HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm-wwwsportsgamblingpodcastcom.sock:", host: "staging-wwwsportsgamblingpodcastcom.kinsta.cloud:53936", referrer: "https://staging-wwwsportsgamblingpodcastcom.kinsta.cloud/wp-admin/admin.php?page=cyberseo"
July 21, 2022
1:26 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOnlineSmall Online

I see an error in /wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-permalink.php, line #54. That's not a my code and I can't see the source code. Perhaps you should contact the plugin's author directly.

Looks like the pre_post_link hook was processed incorrectly. Anyways, that's not a CyberSEO-related error.

July 21, 2022
1:49 am
Avatar
admin.sgpn
Member
Members
Forum Posts: 4
Member Since:
November 15, 2021
sp_UserOfflineSmall Offline

Will do.  Thanks so much for your VERY fast response!  If you think of anything later that might help, I'll be here :) . Thanks again!

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: CyberSEO
41 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2817

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8279

Newest Members:

igor.buzaev, jeremyboucher, lthompson2709, MAC, duty3canada, backlinkmorocco

Administrators: CyberSEO: 3912