JMaartenW
Forum Replies Created
-
Forum: Plugins
In reply to: [User Access Manager] User Access Manager – Media Files Visibility IssueI agree that the instructions for restricting files needs to be massively improved. basically the settings i’ve used – similar to above do not add any value unless i restrict every individual pdf file in the media library.
@PluginOwner please provide more explanation how to restrict certain files in the Uploads directory.
hi,
I created a staging site and completely stripped it apart and played about with lots of settings. in the end i uninstalled and reinstalled Sensei plugin which resolved the settings. then on the live site i change the default pages in the settings and put them back to the original pages like my-courses and that had the same impact of fixing the issue. my deduction is there was a corruption or some issue with the sensei plugin where it did not recognise the actually pages that were set up. by re-applying the pages like our-courses it recognised this page as a valid page and the redirections stopped occurring…
this is the only code on the my-courses page. I don’t know were it comes from, presumably from the sensei LMS plugin
<!-- wp:sensei-lms/learner-courses {"options":{"layoutView":"list","courseDescriptionEnabled":true,"featuredImageEnabled":true,"courseCategoryEnabled":false,"progressBarEnabled":true,"progressBarBorderRadius":10,"progressBarHeight":14,"accentColor":"#91ce94"},"className":"course-image"} /--> <!-- wp:sensei-lms/button-learner-messages {"className":"is-style-default"} --> <div class="wp-block-sensei-lms-button-learner-messages is-style-default wp-block-sensei-button wp-block-button has-text-align-left"><a class="wp-block-button__link">My Messages</a></div> <!-- /wp:sensei-lms/button-learner-messages -->
clicking the page is doing this
https://www.collectivespace.org.uk/my-courses/?redirect_to=/my-courses/
There has been no changes with the .htaccess file since it was first set up.
if it was a htaccess issue then it would affect more pages then just the my-courses page.
not sure what else I can do with permalinks that i haven’t already tried.
can you confirm what is the normal behaviour of the plugin when you click on the my-courses page as a guest user when the page is only accessible to logged in users?
hi,
Thanks for the tip. but I already tried that, as that is the usual first test when having issues with redirects. I changed the permalinks to another option, saved it, cleared cache, and changed it back again and clearing cache. it did not resolve the issue. I am not using any other plugin for login page. I do use UAM plugin to control membership content such as the courses for different cohorts. I think Sensei uses it’s only login page [#senseiloginlogout] which is no longer working, hence the reason to changing it to the wp-login page so that cohorts can still login and work.
the my-courses page works after you’re logged in but the redirect to the sensei login page creates too many redirects. as I’ve said i’ve disabled all plugins and changed the theme and the issue still exists, only when disabling sensei LMS does the page my-courses work but obviously that’s because sensei lms plugin is not redirecting it.
how do we proceed from here to get this resolved in a timely fashion?
sorry that should read GBP.
We do have some code snippets, we use Avada Theme.
https://attenti.co.uk/job/rspcaa/
<ul class="job-listing-meta meta"> <li class="location"><a class="google_map_link" target="_blank">Horsham/London</a></li> <li class="date-posted"><time datetime="2023-04-24">Posted 2 weeks ago</time></li> <li class="salary">Unremunerated USD / Year </li> <li>Salary: £Unremunerated</li></ul>
We added this CSS last year when the USD issue started happening, without this CSS we see both USD and GBP
li.salary {
display: none !important;
}the code snippets are needed because there is no options in Job Manager to set the salary field. previously these code snippets worked fine and USD was replaced with GBP, but then last year following your update to the plugin both fields started showing…
add_filter( 'submit_job_form_fields', 'frontend_add_salary_field' ); function frontend_add_salary_field( $fields ) { $fields['job']['job_salary'] = array( 'label' => __( 'Salary (£)', 'job_manager' ), 'type' => 'text', 'required' => false, 'placeholder' => 'e.g. 20000', 'priority' => 7 ); return $fields; }
add_filter( 'job_manager_job_listing_data_fields', 'admin_add_salary_field' ); function admin_add_salary_field( $fields ) { $fields['_job_salary'] = array( 'label' => __( 'Salary (£)', 'job_manager' ), 'type' => 'text', 'placeholder' => 'e.g. 20000', 'description' => '' ); return $fields; }
it doesn’t make sense what you’re saying, the default is already GBP
The issue is that the GDP price is showing fine, but the orgional issue about this was the fact that USD appeared as well with no options to hide it other then CSS… The CSS provided by Automattic was given as a temporary work around at the time but it’s still required
I cannot provide screenshots or links to dropbox screen capture links here.
yes correct and all other plugins that needed updating last week.
we run an update cycle every month and this month, Sensei LMS broke.
i’ve had to change the login page to use the wp-login so that once users are logged in the page my-courses from sensei LMS works ok.
if you click on the my-courses page as a non logged in user you get endless re-directs. when i disable sensei LMS plugin this stops. I also cleared Cloudflare cache and proxy settings to no avail…
I don’t know anything about rude comments, but i agree that plugins which are rubber stamped by WordPress help to give enduser confidence in the product. It’s therefore a reasonable request to as for this to be put back via the wordpress website. I do accept however that once you’ve upgraded to version 9 the updates work fine from the developer portal, but it’s not the ideal solution.
Forum: Plugins
In reply to: [Product categories search admin for woocommerce] untested with Avadaon the surface it seems to work but unless it gets tested on a proper testbed, and worpdress confirms the status of this plugin as compatible with the theme, one feels unsure there are no underlying issues…
Same issue here with 403 error on the home page only and Gravity forms installed. Disabling ModSecurity or disabling the gravity forms resolved the issue and is a good way to test the problem
the error is nor reported in debug.log file You need to go into your WAF and view the modsecurity log file to see the errors.
Whitelisting [id “214540”] and [id “214940”] is the correct way to resolve the issue!
Forum: Plugins
In reply to: [Yoast SEO] Yoast not recognising internal linksThis Seems a feeble excuse! Yoast simply need to provide add-ons for the main page builders as they did for Elementor. please provide add ons for AVada Page builder and WPBakery
Forum: Fixing WordPress
In reply to: website broke after upgrade from php 7.2 to 74 with Worpdress 6.0Hi thanks for your reply, it would seem some of the issues relate to custom code which resides in the /child-theme/function.php done by a previous developer.
the other errors as you say relate to those two plugins. one of which is critical, the other less so.
I’ve also got this error in the debug log but not sure what that relates to:
Warning: Parameter 2 to advanced_custom_search() expected to be a reference, value given in /var/www/vhosts/lalaniandco.com/uat/wp-includes/class-wp-hook.php on line 307
any idea? the error repeats several times
thanks in advance
Forum: Fixing WordPress
In reply to: website broke after upgrade from php 7.2 to 74 with Worpdress 6.0i’ve since found out the dev site also has these errors which is on php7.2 but on and old version of WordPress