I have been getting sometimes the following error in wordpress log:
/var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php. error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php:481
Stack trace:
#0 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(303): Kaizen_Coders\Url_Shortify\Common\Actions->save_short_link()
#1 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /var/www/vhosts/localhost/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4468): do_action()
#4 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4570): wp_insert_post()
#5 /var/www/vhosts/localhost/httpdocs/wp-admin/includes/post.php(423): wp_update_post()
#6 /var/www/vhosts/localhost/httpdocs/wp-admin/post.php(227): edit_post()
#7 {main}
thrown
this error i got on the latest update of url-shortify.
Previous versions sometimes gave the same error but different line (i guess some code has been added in the last version pushing the line number from 475 to 481)
/var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php. error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php:475
Stack trace:
#0 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(303): Kaizen_Coders\Url_Shortify\Common\Actions->save_short_link()
#1 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /var/www/vhosts/localhost/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4468): do_action()
#4 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4570): wp_insert_post()
#5 /var/www/vhosts/localhost/httpdocs/wp-admin/includes/post.php(423): wp_update_post()
#6 /var/www/vhosts/localhost/httpdocs/wp-admin/post.php(227): edit_post()
#7 {main}
thrown
Any idea?
Thank you
I am using this to customize a menu. There are a lot of things to change, but the most important thing is to show a link to a certain user, and I have customized the role to include manage_options.
I keep getting this message when trying to access tte plugin, in that role, via the direct URL: (I have changed the real URL below). I have checked and double checked, there is no other link anywhere. The only thibng I can think of is that the plugin specifically requires the user to be an admin. Is that something that would trigger this type of message?
Thanks for any help!
===
Current URL: "https://site.com/wp-admin/options-general.php?page=plugin"
The current menu item is "Plugin", menu template ID: "options-general.php>a-plugin"
===============================================================================
Figuring out what capability the user will need to access this item...
-----
Required capability: manage_options. User HAS this capability.
No "extra capability" set.
Final capability setting: manage_options
===============================================================================
+ Override: There is a hidden menu item with the same URL (options-general.php?page=plugin) but a higher priority. Setting the capability to "do_not_allow".
===============================================================================
The current user does not have the "do_not_allow" capability.
DENY access.
]]>This started with the password not being accepted when I tried to log in. I received a new one and what I describe is the result when I log in. I have the same site in Polish and that responds correctly with the password that I had created some time ago.
I have little experience with WordPress, mainly working with the HTML.
]]>I can open WP Fastest Cache, fast.
But I have installed the WP Fastest Cache Premium, so the WP Fastest Cache in the background cannot be set up and accessed.
What’s the reason? I need to WP Fastest Cache, But it is not accessible at the moment.
Was it because of an interception by China GFW?
cannot access url : /wp-admin/admin.php?page=wpfastestcacheoptions
]]>I’m using a Let’s Encrypt SSL Certificate.
A few moments ago, I downloaded this plugin and activated it and it all seems to work just fine, proper redirection for my posts and pages. Even the Login page redirected to https, which was perfect.
But the problem was when I try to login, the login succeeds that is I can see the title on the tab, but the page doesn’t load completely. It’s just stuck at loading when accessing wp-admin dashboard.
I’ve managed to disable the plugin for the meantime and got back access, but I actually want it to work everywhere on the website.
Can you please help me fix this?
]]>What to do in order to access the admin & login section from the domain (pointing to my public ip)??
Please help.
[Moderator note: please do not use all caps in your posts]
]]>Warning: require_once(__DIR__/classes/WPDev/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/w/e/a/wearparts/html/home2/wp-content/plugins/wp-mailto-links/wp-mailto-links.php on line 19
Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/classes/WPDev/Loader.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/w/e/a/wearparts/html/home2/wp-content/plugins/wp-mailto-links/wp-mailto-links.php on line 19
The wp-mailto-links folder is no longer in my plugins folder (I did not remove it – it’s just gone), but I could upload a corrected version via FTP if I had one.
https://www.ads-software.com/plugins/wp-mailto-links/
]]>