Call-time pass-by-reference has been removed
-
This did not start out as a problem with your plugin but ended up that way. My site is https://effortchurch.info/effort2/. I use a plugin called Picasa Express to insert pictures. A week ago my site disappeared over night and when it reappeared there were error codes showing at the top of each posting.
“*Warning*: preg_replace_callback() [function.preg-replace-callback
<https://effortchurch.info/effort2/function.preg-replace-callback>%5D:
Requires argument 2,
‘PicasaExpressX2::pe2_img_caption_shortcode_filter_container_callback’,
to be a valid callback in
*/homepages/41/d352980381/htdocs/effort2/wp-content/plugins/picasa-express-x2/picasa-express-2.php*
on line *3115″I contacted the plugin author and he could not explain it. I contacted my web host (1and1.com) and they advised:
“Please be informed that PHP version supported in the server was already upgraded to 5.4. However, the /effort2 folder in your webspace is still running PHP 5.2. Please edit the .htaccess file found in /effort2 directory and insert the script below on the very first line to parse PHP to 5.4 and to fix the error displaying in your website.
AddHandler x-mapp-php6 .php”
I added that code and the error messages went away … but I soon discovered a different problem. When I tried to log in to the dashboard I got:
“*Fatal error*: Call-time pass-by-reference has been removed in
*/homepages/41/d352980381/htdocs/effort2/wp-content/plugins/add-from-server/class.add-from-server.php*
on line *137″Called webhost again and they said they could not help with that one but noted that it pointed to a different plugin – yours.
I deactivated your plugin and all seems well.
Don’t know if this is something you can fix but perhaps information will be useful to someone else.
—–Paul—–
https://www.ads-software.com/extend/plugins/add-from-server/
- The topic ‘Call-time pass-by-reference has been removed’ is closed to new replies.