Robert
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Photo gallery for viewing, searching and downloadingHad a look but as a non-profit organisation, that’s rather out of our budget.
Forum: Fixing WordPress
In reply to: Photo gallery for viewing, searching and downloadingThank you for your suggestion. Appreciated.
Forum: Plugins
In reply to: [Redirection] Redirects back to sourceThanks John for getting back. Your advice is appreciated.
Forum: Plugins
In reply to: [Redirection] Redirects back to sourceI’ve taken your advice John and looked at other plugins that might be causing this Redirection problem. The links are in a restricted folder controlled by a plugin called Prevent Direct Access. So the first redirection that works is from a link outside the restricted folder to a link inside. But in the case of the second redirection that doesn’t work, both links are in the same restricted folder. The PDA plugin requires some additional code in the .htaccess file as follows. Could this be causing the problem?
# Prevent Direct Access Rewrite Rules
RewriteRule ^private/([a-zA-Z0-9-_.]+)$ index.php?pda_v3_pf=$1&pdav3_rexypo=ymerexy [L]
RewriteRule ^wp/wp-content/uploads(/_pda/.*\.\w+)$ index.php?pda_v3_pf=$1 [QSA,L]
# Prevent Direct Access Rewrite Rules End# IP Block Rewrite Rules for Folder Protection
RewriteRule ^wp/wp-content/uploads(/(wpcommittee|wpmembers|wpindexes|wpsemsub|wpprodman|wpsales|wpregistrar|wpvote|wpwebteam|wpmat)/.*\.\w+)$ index.php?pda_v3_pf=$1 [QSA,L,B]
# IP Block Rewrite Rules for Folder Protection End`Forum: Plugins
In reply to: [Redirection] Redirects back to sourceThanks for your reply John. I have cleared my own browser but doesn’t make any difference. But perhaps there’s a WordPress cache that also needs clearing? Perhaps also a web hosting cache? I’ve also checked the .htaccess but nothing there that I can see that would cause this problem.
And I’m puzzled why this one works fine:
/Register.pdf
to
/wp/wp-content/uploads/wpmembers/guild_documents/Register.pdfbut this one redirects back to the source page:
/wp/wp-content/uploads/wpmembers/Register.pdf
to
/wp/wp-content/uploads/wpmembers/guild_documents/Register.pdfForum: Fixing WordPress
In reply to: Moving a wiki to a new pluginThank you for getting back. And yes – that’s the right plugin. And many thanks for your advice. Very much appreciated.
Forum: Plugins
In reply to: [Wordpress File Upload] PHP Error after updating to 4.16.4I know. And your WordPress File Upload Update may have nothing to do with the error. It’s just that the error in the Wiki plugin happened immediately after updating WordPress File Update. And yes, both plugin work ok. It’s only a Notice and may not be important. But I posted the error just on the off chance the two may be connected and someone might have received a similar error.
Thanks for checking. However, on further investigation it appears the problem is not with the Members plugin but updating User Profiles. The problem looks like it’s coming from the Members plugin if you add new member roles via the User Profile. But in fact if you simply save the User Profile without changing anything, the error recurs. So not your problem I think.
All the best
RobertI have the same problem. But I only get this error if I add a new role to users by editing their profile. If instead I search for the user in Users in the Dashboard and then select the box besides the user and add or remove the role from there – without editing the profile – I get no php error – actually it’s a warning and doesn’t appear to have any effect on the operation of member roles.
Warning: Illegal offset type in isset or empty in /wp-includes/plugin.php on line 174However, it should be fixed. I am using latest version of Members plugin by the way – v3.2.1
Thanks
RobertForum: Plugins
In reply to: [Simple Lightbox] Simple Lightbox: strrpos() warningOn the Dashboard in the PHP Error Log. However, the Error Log has now been cleared so error no longer available. I’ll keep a look out if it recurs again. Thanks for getting back.
RobertForum: Plugins
In reply to: [Simple Lightbox] Simple Lightbox: strrpos() warningUnfortunately I can’t tell what page or plugin is triggering the error message.
Forum: Plugins
In reply to: [Simple Lightbox] Simple Lightbox: strrpos() warningCertainly. Thank you for looking into this.
Mar 12, 07:39:42 Warning: strrpos() expects parameter 1 to be string, array given in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 1411 Mar 12, 07:39:50 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:39:51 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:39:51 Warning: strrpos() expects parameter 1 to be string, array given in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 1411 Mar 12, 07:40:00 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:40:01 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:40:02 Warning: strrpos() expects parameter 1 to be string, array given in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 1411 Mar 12, 07:40:14 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:40:15 Warning: trim() expects parameter 1 to be string, array given in /wp-includes/class-wp-query.php on line 1934 Mar 12, 07:40:15 Warning: strrpos() expects parameter 1 to be string, array given in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 1411
Forum: Plugins
In reply to: [WooCommerce] WooCommerce plugin auto updated 6.2.1 to 6.2.2Many thanks for the clarification. And yes please, mark as resolved.
Forum: Developing with WordPress
In reply to: Creating a new menuThank you again for all your help. Very much appreciated. Especially as neither the course teacher nor the course distributor, in this case Udemy, answered my requests for assistance.
Forum: Developing with WordPress
In reply to: Creating a new menuI think I’ve finally figured it out. The code is fine but the instructions in the course aren’t clear. I understood that once the code was in place in functions.php, then I wouldn’t need to also create the ‘Main Menu’ menu.
So when I went to Appearance-Menus-Manage Locations, there was no Main Menu to select. I assumed it was the code. But once I created the menu, it worked fine.
I’ve continued on to the next course topic and things seem to be working as expected.
Thank you very much for your assistance. Your additional info about calling from “after_setup_theme” was most helpful.