John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Critical ERRORAs a heads up, while I’ll make a change that will prevent the overriding of the defaults by others (moving the filter location), it will result in whatever extra code you have that was performing the setting override no longer functioning (otherwise it won’t fix the issue).
Forum: Plugins
In reply to: [Breadcrumb NavXT] You do not have permission to access this page@designlions If your user is of the administrator role, and/or has the
bcn_manage_optionscapability, then the next most likely possibility is that you have some sort of WAF (web application firewall), such as ModSecurity or WordFence that doesn’t like something.Forum: Plugins
In reply to: [Breadcrumb NavXT] Error on new updateIt appears you are experiencing a similar issue as reported by a user in this thread: https://wordpress.org/support/topic/php-fatal-error-on-plugin-settings-page/
The likely cause is a plugin registering a CPT after the init action priority 10 level. I’m tracking this issue in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/262
Forum: Plugins
In reply to: [Breadcrumb NavXT] Fatal ErrorIt looks like your site is running PHP5.6 (5.6.40 to be exact), you’ll need to roll back to Breadcrumb NavXT 6.6.0, or update your server to run PHP7.0 or newer for the time being (this falls under the following GitHub issue https://github.com/mtekk/Breadcrumb-NavXT/issues/261).
Forum: Plugins
In reply to: [Breadcrumb NavXT] last version problemDo you, by chance, have what the critical error message was? The plugin input field warnings are due to the migration script not running properly on your install (for some reason), which the critical error message may point to what is causing that (I’m tracking this problem as part of this GitHub issue https://github.com/mtekk/Breadcrumb-NavXT/issues/263). Also, looking at the settings that are getting complained about, my guess is you may be experiencing something similar to this issue as well: https://wordpress.org/support/topic/php-fatal-error-on-plugin-settings-page/ (GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/262)
Forum: Plugins
In reply to: [Breadcrumb NavXT] You do not have permission to access this pageSo, it’s likely you don’t have
bcn_manage_optionscapability for your user type (likely a non-administrator user). You’ll have to add that capability using something likeget_role('USER_ROLE')->add_cap('bcn_manage_options');within a filter hooked into theadmin_initaction.Forum: Plugins
In reply to: [Breadcrumb NavXT] fatal error@tworak Thanks for reporting this and the included error message. I’m tracking this issue in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/265 This will be fixed in 7.0.1
Forum: Plugins
In reply to: [Breadcrumb NavXT] Critical ERRORLooking at the codebase, given you had to comment out line 177, this is not a Breadcrumb NavXT issue, per-say. I’m very confident you have something that is changing the hseparator to a string, likely though the
bcn_settings_initfilter. My guess is that either your theme, or some functions.php or site specific plugin is using thebcn_settings_initfilter to manually set the breadcrumb separator (not really the intent of that filter, and to ‘fix’ this issue it’s location will be moving so it can not override the defaults, see https://github.com/mtekk/Breadcrumb-NavXT/issues/264).The way to check if this is the case is to undo your previous changes and comment out line 571 in breadcrumb-navxt.php.
To see what may be hooked into
bcn_settings_inityou can try adding something like:var_dump($GLOBALS['wp_filter']['bcn_settings_init']);to a test plugin and see the results (what functions are registered).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Critical ERRORCan you check to see if there is anything hooked into the
bcn_settings_initfilter? The only way the error should be possible is when the settings array contains something that is not compliant with themtekk\adminKit\setting\settinginterface, in this case a string. Given you had to comment out the hseparator setting, it looks like that is what is getting set as a string (as to why, that is the question).Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP Fatal error on new update 7.0.0The specific “hint” error should be solely a PHP5 issue. PHP7 added the ability to set defaults when type hinting some of the default types within PHP. Are you sure you are getting the exact same error as the OP? I’ll switch my dev platform back to PHP7 to confirm/double check.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Critical ERRORThis looks to be the same issue described in this thread: https://wordpress.org/support/topic/error-on-new-version-7/ please see my reply in that thread and see if my suggestion helps.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Found 10 unknown legacy settings after update to 7.0What happens if you change a setting and then press the “Save Changes” button, does the message go away?
BTW, I’m opening a GitHub issue to track this: https://github.com/mtekk/Breadcrumb-NavXT/issues/263
- This reply was modified 4 years, 6 months ago by John Havlik. Reason: add GitHub issue link
Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP fatal error on plugin settings pageIt looks like SASWP (schema and structured data for wp) registers the reviews post type way too late (priority 20 in init), so it doesn’t get picked up. I’m going to see what I can do to push back when Breadcrumb NavXT checks against post types. I’m tracking this in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/262
Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP Fatal error on new update 7.0.0@guytzhak, this specific error is due to running PHP5.6. If you have the ability to, I would recommend updating to PHP7 or newer.
Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP Fatal error on new update 7.0.0Thanks for reporting this. It looks like I added code that required a feature in PHP7 and didn’t get that requirement into the readme. I’ve update that. I’ll see what I can do for 7.0.1 for PHP5.6 compatibility (though at this point please consider getting your webhost to update PHP on your server, I can’t easily test against PHP5 as my distro removed it from their software repo), I’m tracking this in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/261
- This reply was modified 4 years, 6 months ago by John Havlik. Reason: add GitHub issue link